I am developing a photo gallery which will read/write EXIF tags. I will put photo title in the EXIF tag DocumentName and description in EXIF tag ImageDescription. I also plan to use the geo-tags. But what about photo tags/categories? I want to store a space-separated string of the tags a photo is tagged with in my system. Is there any EXIF tag that is normally used for this type of information? I could write my own (i.e. PhotoTags) but I guess that is not really of any use except for internally in my system (where this information is stored in a database anyway).
我正在开发一个可以读/写EXIF标签的照片库。我将照片标题放在EXIF标签DocumentName和EXIF标签ImageDescription中的描述中。我还打算使用地理标签。但是照片标签/类别呢?我想在我的系统中存储一张以空格分隔的标签字符串照片。是否有任何EXIF标记通常用于此类信息?我可以编写自己的(即PhotoTags),但我想除了我的系统内部(无论如何这些信息都存储在数据库中)之外没有任何用处。
2 个解决方案
#1
#2
There's no EXIF tag for this, but there is an IPTC "keywords" tag. JPEG can handle IPTC records, so there should be no problem.
这没有EXIF标签,但有一个IPTC“关键字”标签。 JPEG可以处理IPTC记录,因此应该没有问题。
#1
I think that will want to look into IPTC and/or XMP (not entirely clear over their relation) for storing metadata about images (such as keywords/tags, title, description and so on).
我认为这将需要查看IPTC和/或XMP(不完全清楚它们的关系)来存储有关图像的元数据(例如关键字/标签,标题,描述等)。
#2
There's no EXIF tag for this, but there is an IPTC "keywords" tag. JPEG can handle IPTC records, so there should be no problem.
这没有EXIF标签,但有一个IPTC“关键字”标签。 JPEG可以处理IPTC记录,因此应该没有问题。