From: John B. <joh...@gm...> - 2016-07-23 07:56:56
|
On Fri, Jul 22, 2016 at 10:10 PM, Brett Hoyle <bi...@li...> wrote: > File read via > pngstest did not experience the issue. It does if you supply '--nostrict' to pngstest; this causes it not to stop the test on warnings; in the file in question, the profile causes a warning which stops the test. The bug arises because the PNG file has a gamma of 0.45454 but the simplified API wants one of 0.45455; libpng correctly eliminates the gamma transform (it is too small to change any RGB values) but then detects that the output gamma doesn't match the expected gamma. I think the fix is just to relax the test, but it's going to take me a bit of time to double check the logic. John Bowler |