I want to add support EXIF for libjpeg library. I read exif2.2 specification briefly, but it does not contain any information about possiblity of exif tag's value, which can be located outside of APP1 marker segment (for example after end of file marker). Is that situation possible?
I maintain the metadata-extractor
library, in Java and C#, and have never seen Exif data outside of APP1
. It's possible that there are more than one APP1
segments, so you should check for, then skip, the six-byte preamble: Exif\0\0
.
If you find a JPEG image that has Exif data outside of the APP1
segment, I'd very much like to know about it!