Phil Harvey
2017-06-09 14:36:05 UTC
I removed some of the JPEG-specific details so the recommendation
now reads, in the 2017-06-09b version,
While the PNG specification allows the chunk size to be as large as
2^31-1 bytes, application authors should be aware that, if the Exif profile
is going to be written to a JPEG datastream, the total length of the eXIf
chunk data may need to be adjusted to not exceed 2^16-9 bytes, so it can fit
into a JPEG APP1 marker.
Great. I apologize for making another suggestion, but calling it a "JPEG APP1now reads, in the 2017-06-09b version,
While the PNG specification allows the chunk size to be as large as
2^31-1 bytes, application authors should be aware that, if the Exif profile
is going to be written to a JPEG datastream, the total length of the eXIf
chunk data may need to be adjusted to not exceed 2^16-9 bytes, so it can fit
into a JPEG APP1 marker.
Exif segment" would be more accurate than a "JPEG APP1 marker" because the 6-byte
Exif00 header is specific to the APP1 Exif segment. Also, a "marker" is
technically the two bytes at the start of a segment (0xff 0xe1 in this case) that
identify the type of segment.
- Phil