Re: EXIF support in PNG
John Bowler <[email protected]>
| Newsgroups | gmane.comp.graphics.png.general |
|---|---|
| Message-ID | <CAP7U398OH7kFRUhDUzHDg2GdUu5z-6JqC4L9k16acsZUPa+iLg@mail.gmail.com> |
>From Greg; I didn't see this because of the gmail lock-out: John Bowler wrote: >> If Glenn/Greg are happy I can simply push a new >> 'pngcheck' repo to github; my changes are based off 2.3.0 which is, I >> think, the latest. > >Thanks, John, I'm totally fine with that. I've got a small patch here, if you >wouldn't mind incorporating it, too: I did that. I now have a new repo: https://github.com/jbowler/pngcheck.git It contains two branches: 1) official; this is pngcheck-2.3.0 from the sourceforge tarball with the patch applies, IRC it is 2.4.0-beta08 or something like that. 2) development; this is my pngcheck version with the patch merged in from 'official' The source for this isthe SourceForge project https://sourceforge.net/projects/png-mng/ There is no 'master' branch. The LICENSE is the text beneath the copyright in pngcheck.c, the dates and version numbers have not been updated either for Greg's patch or my changes. In due course I will change them to beta along with the copyright date. >I've been sitting on it for years, apparently having been interrupted in the >process of adding UTF-8 printing support for iTXt. (The last-modified time >was about when our remodel started...) I've omitted that part of the patch >since it was seriously hackish and unfinished. I just dump the iTXt text with the current prbuf routine. This will result is corrupted UTF-8 in certain cases. I think it's pretty easy to fix if it is ok to insist on the 'sevenbit' option be used for non-UTF-8 terminals. All the systems I have are set to UTF-8 these days, indeed, it's been a while since I encountered any ISO8859-1 output but maybe the terminal switching happens automagically. The XML iTXt chunk produced by digikam has a UTF byte order marker (character 0xFFFE) encoded, I assume, in UTF-8. That strikes me as really weird, but oh well... John Bowler ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi