Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2156

PNG and GIF image generation fails in RTF documents

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.1
    • None
    • renderer/rtf
    • None
    • Operating System: All
      Platform: PC
    • 54108

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            carlzbg@gmail.com Carl Zetterberg
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: