-bit_depth 8 to an 16-bit input PNG might be expected to reduce the color depth (particularly if there are, in fact, fewer than 2^24 unique colors) but it instead appears to change the image header but leave the data unchanged, thus mangling both the colors and the geometry! Please see the example input and output PNGs which I have attached.
If this is not intended to be supported (it would involve a bunch of extra algorithmic goo)
pngcrush should error out rather than creating a corrupt output file.
(Originally reported as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546267 )
Log in to post a comment.