On Fri, Jan 3, 2025 at 3:30 PM Seeger, Chris (NBCUniversal) <
Chris.Seeger@nbcuni.com> wrote:
> Who submitted the libpng code that will be used in the version that is
> going towards release?
>
There was only one submission. It's this one:
https://github.com/pnggroup/libpng/pull/565
It wouldn't trigger an error unless a colormapped image was used.
Fortunately the test image we were supplied with was, in fact,
colormapped. The only other issue so far is that cICP after IDAT was not
detected (at least I think that's the issue; Cosmin noticed the problem.)
Neither of us changed the API so your code should just compile against
either the development branch:
https://github.com/pnggroup/libpng/tree/libpng18
or the release branch:
https://github.com/pnggroup/libpng/tree/libpng16
I've only tested the release branch so far. The mDCV and cLLI code I'm
typing in is from scratch and the API is not the submitted one; it's
consistent with that for cHRM and therefore supports floating point. Most
libpng apps, perhaps even all of them, use the floating point APIs, not the
fixed point ones.
John Bowler <jbowler@acm.org>