How to write or modify EXIF data for an existing image on the filesystem, without loading the image?

后端 未结 2 1257
抹茶落季
抹茶落季 2020-12-16 06:49

I\'ve asked similar questions before, but have not received a definitive answer. Seems that there must be a way to simply add/modify metadata to an image without loading the

相关标签:
2条回答
  • 2020-12-16 07:18

    If you know how to modify the EXIF, you can modify the binary data directly from the file. Just replace in the image the binary portion with the new one. I don't know if objective-c permit this, but in ansi c should be simple. The complicate part is to identify the exact part to change.

    0 讨论(0)
  • 2020-12-16 07:23

    You can use libexif - I've had success with compiling it for iOS before. With libexif, you can modify any image's EXIF metadata.

    0 讨论(0)
提交回复
热议问题