本文介绍了在iPhone / Objective-c上读取/写入图像XMP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从iPhone上的jpeg读取XMP信息。

I'm trying to read XMP information from a jpeg on iPhone.

我可以使用ImageIO轻松地从IPTC,TIFF或EXIF获取标签,但不能使用XMP。我对评级标签特别感兴趣。

I can get tags from IPTC, TIFF or EXIF easily using ImageIO but not XMP. I'm specially interested the rating tag.

有谁知道怎么做?

推荐答案

我一直想把自己搞清楚一点。根据我发现的内容,您需要创建或查找用于解析XMP数据的自定义工具集。它以XML格式存储。 如果您看一下XCode中SDK的编译说明中有错误。

I've been trying to figure this out myself for a bit. Based on what I've found it looks like a you will need to create or find a custom toolset for parsing the XMP data. It is stored in an XML format. Adobe has an SDK and toolset for dealing with XMP data that can be found here. If you look into that there was an error in the compilation instructions for the SDK in XCode. You can get a correction here on there forums.

您还可以找到adobe XMP规范

You can also find the adobe XMP specification documents here

我还没有深入探讨这个话题的兔子洞,但是因为没有其他人在这里做出回应我以为我会给你一些我能够深入了解的话题。

I still haven't gotten very deep into the rabbit hole of this topic yet myself but since no one else was responding here I thought I'd give you what little I've been able to dig up on the topic.

这篇关于在iPhone / Objective-c上读取/写入图像XMP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 08:28