Proposed PNG eXIf chunk
Glenn Randers-Pehrson <[email protected]> Sun, 28 May 2017 12:38:47 -0400
| Newsgroups | gmane.comp.video.graphicsmagick.core |
|---|---|
| Message-ID | <CA+PdXcsX2cd4Kg8uGqTYkTmFLehXtBmo4CVgQZCr13B5uc2FRQ@mail.gmail.com> |
During January and February 2017 the PNG Development Group discussed a proposed eXIf chunk for storing the Exif profile. See http://www.simplesystems.org/png-group/proposals/eXIf/ The PNG group discussion has lapsed without action on the proposal. The proposal was pretty simplistic: just copy whatever is in a JPEG APP1 chunk, minus a few overhead bytes, into the eXIf chunk. I implemented the proposal in GraphicsMagick/coders/png.c (currently #ifdef'ed out, but can be enabled with -DexIf_SUPPORTED) to simply copy GraphicsMagick's Exif property, minus the first few bytes, into an eXIf chunk. One troublesome aspect was that the GraphicsMagick "Exif" property can contain the JPEG thumbnail image, which isn't strictly a part of Exif. I'm thinking of updating the proposal to declare that the thumbnail should not be included in the exIf chunk data, and rewriting the ImageMagick chunk support to eliminate or ignore it. People wanting to preserve the thumbnail should use a different private chunk for that. Thoughts? ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot