* Marius Andreiana <marius.andreiana2(a)gmail.com> [2010-12-23 07:01]:
Please see this bug
Fedora java distribution cannot read some PNG images which work fine in
* Windows java 1.6
* Linux image viewers
* "identify a.png" works: PNG 16x16 16x16+0+0 8-bit DirectClass 1.38KB 0.000u
(more info and code to reproduce in bug).
Do you have any suggestion for workarounds or fix? (besides re-generating
all pngs somehow)
I have identified the problem. It is already fixed upstream in OpenJDK7.
I have requested a backport to openjdk6 and to icedtea6 (the latter so
that it can go in Fedora sooner):
If you are comfortable with building IcedTea
or the java-1.6.0-openjdk RPM, you can apply the above patch and do so
and it should resolve the issue.
Outside of a new JDK build, your only option unfortunately is to fix the
iTXt chunks in the pngs and regenerate them.
devel mailing list