wget https://simple-launcher.googlecode.com/svn-history/r2/trunk/res/drawable-sw600dp-xhdpi/portal_ring_outer_holo.png pngcrush -q -brute portal_ring_outer_holo.png portal_ring_outer_holo.png.out While converting portal_ring_outer_holo.png to portal_ring_outer_holo.png.out: pngcrush caught libpng error: Valid palette required for paletted images version 1.7.25 was fine on the same png, the problem started happening with the 1.7.35 upgrade. Noticed because of errors while building cyanogenmod9.
This just needs a version bump, the problem was upstream: Change log: Version 1.7.37 (built with libpng-1.5.12 and zlib-1.2.7) Reverted pngcrush.c back to 1.7.35 and fixed the bug with PLTE handling. Version 1.7.36 (built with libpng-1.5.12 and zlib-1.2.7) Reverted pngcrush.c to version 1.7.34 because pngcrush is failing with some paletted PNGs. Separated CFLAGS and CPPFLAGS in the makefile (with "-I" and "-DZ_SOLO" in CPPFLAGS)
(In reply to comment #1) > This just needs a version bump, the problem was upstream: Which was already done before this bug was reported.