optipng-0.5.4-3.fc6.x86_64 fails on some pngs, such as the attached one, with the following output: $ optipng empty.png OptiPNG 0.5.4: Advanced PNG optimizer. Copyright (C) 2001-2006 Cosmin Truta. ** Processing: empty.png 68x42 8-bit RGB non-interlaced Error: [internal error] Inconsistent internal structures (incorrect libpng?) 1 error(s) encountered.
Created attachment 141855 [details] Reproducer .png
Problem occurs also on i386
Fixed in 0.5.4-4, optipng checked to strictly to prevent image corruption. The regarding check has been removed now.