Re: CFD: eXIf 2017-05-31

Phil Harvey <phil-CIeU6mJ2MbMd166Dz3SrqbDks+cytr/[email protected]> Thu, 8 Jun 2017 12:26:49 -0400
Newsgroups gmane.comp.graphics.png.general
Message-ID <[email protected]>
> From: Cosmin Truta <[email protected]>
> 
> Should this not be under Recommendations for Encoders? It's the
> encoder who controls whether the 64KB limit is to be exceeded or not
> (having consideration for subsequent conversion to JPEG or not).

I disagree.

In general, the encoder knows nothing about what the EXIF will be used for.  It is the decoder that knows this.  The encoder should know where the information is coming from (eg. JPEG or TIFF image), but it may not know the ultimate destination, so I see why it should be its responsibility for limiting the data size.

> If the chunk is already over 64KB, the decoder cannot do much about it.

It can either not write the EXIF to the JPEG, or choose to discard less important information until it is < 64 kbytes.

	- Phil


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