Re: Fedora java png parser issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Marius Andreiana <marius.andreiana2@xxxxxxxxx> [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@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/devel

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux