libpng - Unable to open PNG file with kview or PictureViewer; opens fine with other viewers -


i have png file created using libpng library. file opens on windows picture viewer , ms paint, opening kview (on linux rhel5) or quicktime pictureviewer (on windows) fails - former reports "libpng read error whereas latter reports file being corrupted. similar problem seen when trying process png using imagemagick library on linux. given png opens fine on applications, doesn't seem file corrupted; therefore suspect problem version compatibility, not sure. tried searching web couldn't find information on root cause or solution problem. can please guide me on this?

judging example image posted in comments, problem png lacks ending iend chunk -something can test opening tweakpng , inspecting structure visually, or choosing "check validity-f5". predictable kind of png displayed viewers , rejected others.

if using libpng, seems forgot call png_write_end()


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -