Re: CFD: eXIf 2017-05-31

Glenn Randers-Pehrson <[email protected]> Thu, 8 Jun 2017 23:42:41 -0400
Newsgroups gmane.comp.graphics.png.general
Message-ID <CA+PdXcu3vBQFBJf5S0gZQo7-gd7BpXYOnb+iNoMtC2N_U2yueQ@mail.gmail.com>
I've changed "64k" to "2^16-2" in the 06-09 CFD.

Glenn

On Thu, Jun 8, 2017 at 11:37 PM, Glenn Randers-Pehrson
<[email protected]> wrote:
> On Thu, Jun 8, 2017 at 11:25 PM, Cosmin Truta <[email protected]> wrote:
>> I realized that I don't really know the correct maximum size of JPEG
>> "Exif" chunk content. Is it 2^16 bytes? Or is it 2^16-1 bytes? Or is
>> it 2^16-N, where N is a small number that accounts for the presence of
>> the JPEG APP1 "Exif\0\0" marker (and the whole thing must fit in the
>> 64KB limit)?
>>
>> I suppose that Glenn (who has experience with ImageMagick) or Phil
>> (who has experience with ExifTool) would know. We should mention the
>> exact limit.CALL for DISCUSSION
>
> It's 2^16-2 (2-bytes for the length, plus the payload).

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot