[ 
https://issues.apache.org/jira/browse/FOP-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561292#comment-13561292
 ] 

Luis Bernardo commented on FOP-2156:
------------------------------------

the issue is not understood at the moment. but add this to the fop.xconf, 
before the <renderers> element:

<image-loading>
    <penalty value="INFINITE" 
class="org.apache.xmlgraphics.image.loader.impl.ImageLoaderRawPNG" />
</image-loading>

see if it makes a difference. apparently this image loader is taking precedence 
with RTF.
                
> PNG and GIF image generation fails in RTF documents
> ---------------------------------------------------
>
>                 Key: FOP-2156
>                 URL: https://issues.apache.org/jira/browse/FOP-2156
>             Project: Fop
>          Issue Type: Bug
>          Components: rtf
>    Affects Versions: 1.1
>         Environment: Operating System: All
> Platform: PC
>            Reporter: Carl Zetterberg
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to