gpt4 book ai didi

exif - 自定义 Exif 标签

转载 作者:行者123 更新时间:2023-12-04 01:57:26 33 4
gpt4 key购买 nike

我正在使用 exiv2操作 jpeg 文件中的元数据。我需要将更多与图像处理相关的信息写入元数据中。除了标准标签之外,是否可以创建自定义 Exif 标签?

最佳答案

来自 http://www.exif.org/Exif2-2.PDF :

D. Tags Relating to User Information

MakerNote
A tag for manufacturers of Exif writers to record any desired information. The contents are up to the manufacturer, but this tag should not be used for any other than its intended purpose.
Tag = 37500 (927C.H)
Type = UNDEFINED
Count = Any
Default = none

UserComment
A tag for Exif users to write keywords or comments on the image besides those in ImageDescription, and without the character code limitations of the ImageDescription tag.
Tag = 37510 (9286.H)
Type = UNDEFINED
Count = Any
Default = none



exiv2 支持 MakerNote标签: http://dev.exiv2.org/projects/exiv2/wiki/How_to_add_support_for_a_new_makernote

如果您不想这样做,可以使用 UserComment : http://www.exiv2.org/doc/exifcomment_8cpp-example.html

关于exif - 自定义 Exif 标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10833928/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com