You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2012/11/06 22:30:56 UTC

[Bug 54108] New: PNG and GIF image generation fails in RTF documents

https://issues.apache.org/bugzilla/show_bug.cgi?id=54108

          Priority: P2
            Bug ID: 54108
          Assignee: fop-dev@xmlgraphics.apache.org
           Summary: PNG and GIF image generation fails in RTF documents
          Severity: normal
    Classification: Unclassified
          Reporter: carlzbg@gmail.com
          Hardware: PC
            Status: NEW
           Version: 1.1
         Component: rtf
           Product: Fop

Tomcat 6
java 1.7

Fop 1.1
xmlgraphics-commons-1.5.jar

<fo:external-graphic src="file:logotypes/{head/logotype}"                      
                 width="auto" height="auto" content-width="80%"
content-height="auto" />

will produce:

org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExternalGraphic$ExternalGraphicException:
The tag <fo:external-graph ic> does not support gif - image type

both for PNG and GIF files when producing RTF documents

The same environment and XSL produce PDF that are ok.

Switching back to fop 1.0 and xmlgraphics-commons-1.4.jar resolves the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54108] PNG and GIF image generation fails in RTF documents

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54108

Chris Bowditch <bo...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 OS|                            |All

--- Comment #1 from Chris Bowditch <bo...@hotmail.com> ---
Do you have jai-imageio.jar in the Tomcat classpath? If not can you try adding
that to see if the issue is resolved?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54108] PNG and GIF image generation fails in RTF documents

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54108

Carl Zetterberg <ca...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Carl Zetterberg <ca...@gmail.com> ---
Adding jai_imageio_windows-i586.jar to the Tomcat classpath does make it work.

Sorry if I posted an unnecessary bug here.
I was not aware that you needed to add jai_image when upgrading from fop 1.0 to
fop 1.1

-- 
You are receiving this mail because:
You are the assignee for the bug.