xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin de Dardel <benjamin.dedar...@gmail.com>
Subject Re: Fail to insert png image into pdf
Date Tue, 06 Dec 2011 20:09:36 GMT
Thanks a lot, it works much better with jai.
Benjamin

Le 05/12/2011 13:11, Chris Bowditch a écrit :
> On 05/12/2011 10:30, Luis Bernardo wrote:
>
> Hi Luis, Benjamin,
>
>> Probably a jar that is missing or not being found in the classpath. If
>> you search the archives you will find that this error has been
>> discussed in the past. There is no single solution but reading past
>> discussions may help you fix the issue.
>
> You are on the right lines. Normally this means jai_imageio.jar is not 
> available in the Classpath. FOP uses JAI ImageIO Tools for processing 
> a lot of image formats.
>
>>
>> On Sun, Dec 4, 2011 at 11:56 AM, Benjamin de Dardel
>> <benjamin.dedardel@gmail.com>  wrote:
>>> Hi all,
>>>
>>> As describe in this ticket, I try to transform docbook ->  fo ->  pdf :
>>> https://sourceforge.net/apps/mantisbt/ant4docbook/view.php?id=5
>>>
>>> fo file seems to be good, because I succeed in to execute the 
>>> command line :
>>> $ fop myfile.fo myfile.pdf
>>>
>>> but when I use, fo ant task, I fail to do this : impossible to include
>>> image. I always get an error :
>>>    [fop] déc. 04, 2011 12:26:52 PM 
>>> org.apache.fop.events.LoggingEventListener
>>> processEvent
>>>        [fop] Grave: Image not available. URI: 
>>> img/forum-inscription1.png.
>>> Reason: org.apache.xmlgraphics.image.loader.ImageException: The file 
>>> format
>>> is not supported. No ImagePreloader found for 
>>> img/forum-inscription1.png
>>> (See position 6:264)
>>>
>
> Thanks,
>
> Chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message