Fedora java png parser issue
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) Thanks -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: Fedora java png parser issue
On 23 December 2010 12:01, Marius Andreiana marius.andreia...@gmail.com wrote: 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) Thanks You might get more response from the java-devel list. I will forward this message to that list. -- Mat Booth http://fedoraproject.org/get-fedora -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: Fedora java png parser issue
On 12/23/2010 03:01 PM, Mat Booth wrote: On 23 December 2010 12:01, Marius Andreianamarius.andreia...@gmail.com wrote: 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) You might get more response from the java-devel list. I will forward this message to that list. I assure you that the Red Hat Java team is listening. :-) Right now I have no idea what the problem might be. Andrew. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: Fedora java png parser issue
* Andrew Haley a...@redhat.com [2010-12-23 10:58]: On 12/23/2010 03:01 PM, Mat Booth wrote: On 23 December 2010 12:01, Marius Andreianamarius.andreia...@gmail.com wrote: 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) You might get more response from the java-devel list. I will forward this message to that list. I assure you that the Red Hat Java team is listening. :-) Right now I have no idea what the problem might be. I am looking into this now. Cheers, Deepak Andrew. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: Fedora java png parser issue
* Marius Andreiana marius.andreia...@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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: Fedora java png parser issue
On Thu, Dec 23, 2010 at 10:42 PM, Deepak Bhole dbh...@redhat.com wrote: Hi, I have identified the problem. Thanks Deepak for the quick and thorough investigation! -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel