[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-dev
Subject:    [jira] [Updated] (FOP-2749) Not able to include png files in rtf.
From:       "rajeev ranjan choudhary (JIRA)" <jira () apache ! org>
Date:       2017-10-06 14:16:00
Message-ID: JIRA.13107523.1507299307000.289195.1507299360269 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/FOP-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

rajeev ranjan choudhary updated FOP-2749:
-----------------------------------------
    Summary: Not able to include png files in rtf.  (was: Not able to include the png \
files in rtf.)

> Not able to include png files in rtf.
> -------------------------------------
> 
> Key: FOP-2749
> URL: https://issues.apache.org/jira/browse/FOP-2749
> Project: FOP
> Issue Type: Bug
> Components: image/png
> Affects Versions: 2.2
> Reporter: rajeev ranjan choudhary
> Priority: Minor
> 
> We have recently upgraded FOP from 1.0 to 2.2, after update we are facing issues \
> while creating the rtf files. From our code base when we are creating the rtf file \
> running following command : fop -xml {$working_dir}{$working_filename}.xml -xsl \
> {$xsl_file_name} -foout {$working_dir}{$working_filename}.fo 2>&1 fop -c Test.xml \
> -fo {$working_dir}{$working_filename}.fo -rtf {$working_dir}{$working_filename}.rtf \
> 2>&1 after generating the rtf file we can see in place of the images there are \
> exceptions as following: \
> A.	org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExternalGraphic$ExternalGraphicException \
> org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExternalGraphic$ExternalGraphicException: \
> The tag <fo:external-graphic> does not support jpg - image type. This issue is \
> happening for all the png type images when are included using an external url.  \
> What we observed that that when we are accessing the external url it always add the \
> extension as jpg irrespective of the real image file type. This type of issue not \
> observed while the FOP version was 1.0 and then also the external url was using \
> .jpg extension while adding the image link to xml file.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic