Fedora java png parser issue
Deepak Bhole
dbhole at redhat.com
Thu Dec 23 20:42:28 UTC 2010
* Marius Andreiana <marius.andreiana2 at gmail.com> [2010-12-23 07:01]:
> Hi all,
>
> Please see this bug
> https://bugzilla.redhat.com/show_bug.cgi?id=665355
>
> Fedora java distribution cannot read some PNG images which work fine in
> * Windows java 1.6
> * Linux image viewers
> * browsers
> * "identify a.png" works: PNG 16x16 16x16+0+0 8-bit DirectClass 1.38KB 0.000u
> 0:00.000
>
> (more info and code to reproduce in bug).
>
> Do you have any suggestion for workarounds or fix? (besides re-generating
> all pngs somehow)
>
Hi,
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):
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-December/011573.html
If you are comfortable with building IcedTea
(http://icedtea.classpath.org/wiki/Main_Page#Quick_start_.26_Building),
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.
Cheers,
Deepak
> Thanks
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
More information about the devel
mailing list