DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41508>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41508


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From [EMAIL PROTECTED]  2007-01-31 11:17 -------
Sorry, but we won't look into this bug. Since the code of GifImage didn't change
much I'd assume it would resurface in your particular environment even if you
upgraded to FOP 0.93. We're likely to soon drop support for JDK 1.3 which
removes the necessity to keep GifImage around in the first place, as image
loading for GIF will be done through ImageIO. BTW, it would have been
interesting to know the maker and version of the JVM you're using.

Anyway, I've got a possible work-around (no guarantees) for you if you
absolutely have to stay with FOP 0.20.4 which is by now 4 years old: Make JAI
available to FOP and change org/apache/fop/image/FopImageFactory by changing the
following code section:

        if ("image/gif".equals(imgMimeType)) {
            imgClassName = "org.apache.fop.image.GifImage";
            // imgClassName = "org.apache.fop.image.JAIImage";

Comment the line with "GifImage" and uncomment the line below. Recompile FOP
from the sources and FOP will attempt to load GIF images through JAI.

Upgrading to FOP 0.20.5 won't help in this case as the code is pretty much the
same. You could also try to use a different JVM in your environment as I don't
think this is just a FOP bug. After all, a lot of people used GIF images with
FOP 0.20.4 and 0.20.5 and it worked for them.

If you can upgrade to FOP 0.93 that particular problem would go away anyway but
you have to do a migration which may be more work for you.

Good luck!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to