Re: CFD: eXIf 2017-06-09b

Phil Harvey <phil-CIeU6mJ2MbMd166Dz3SrqbDks+cytr/[email protected]> Fri, 9 Jun 2017 10:36:05 -0400
Newsgroups gmane.comp.graphics.png.general
Message-ID <[email protected]>
> From: Glenn Randers-Pehrson <[email protected]>
> 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 APP1
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot