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 "Carsten Pfeiffer (JIRA)" <ji...@apache.org> on 2015/07/30 14:51:07 UTC

[jira] [Commented] (FOP-2156) PNG and GIF image generation fails in RTF documents

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

Carsten Pfeiffer commented on FOP-2156:
---------------------------------------

Two fixes are ncessary to make PNG work with RTF:
XGC-97 and XGC-99, meaning.

> 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: renderer/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 was sent by Atlassian JIRA
(v6.3.4#6332)