Kurt,
A quick and dirty test of running...
cd autotest/gdrivers
/sw/bin/optipng data/test.png
OptiPNG 0.6.3: Advanced PNG optimizer.
Copyright (C) 2001-2009 Cosmin Truta.
** Processing: data/test.png
400x400 pixels, 8 bits/pixel, 16 colors (16 transparent) in palette
Reducing image to 2 bits/pixel, 4 colors (1 transparent) in palette
Input IDAT size = 8575 bytes
Input file size = 8732 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 6721
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 6428
Selecting parameters:
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 6428
Output IDAT size = 6428 bytes (2147 bytes decrease)
Output file size = 6522 bytes (2210 bytes = 25.31% decrease)
eliminates the "IDAT: invalid distance too far back" failures as described
in https://github.com/licq-im/licq/pull/32...
% ./png.py
TEST: png_1 ... success
TEST: png_2 ... success
TEST: png_3 ... fail
line 66: Wrong colormap entries
TEST: png_4 ... success
TEST: png_5 ... success
TEST: png_6 ... success
TEST: png_7 ... success
TEST: png_8 ... success
TEST: png_9 ... success
TEST: png_10 ... success
TEST: png_11 ... success
Test Script: png
Succeeded: 10
Failed: 1 (0 blew exceptions)
Skipped: 0
Expected fail:0
Duration: 0.09s
I suspect we need to use finer control on the options passed to /sw/bin/optipng
to avoid changing the colormap entries. In any case, I think this pretty much
proves my hypothesis that these failures in png.py are false positives.
Jack
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel