xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Coppens <pc.subscripti...@gmail.com>
Subject Re: images in pdf file
Date Sun, 13 Apr 2008 12:02:54 GMT
Wrt to the imagepreloader not found, you might want to check http://xmlgraphics.apache.org/fop/0.95/graphics.html

To summarize, you will need JAI Image I/O Tools for bmp to be  
supported as an input format

Hth,

Peter

On 13 Apr 2008, at 00:07, morten wrote:
> hi
>
> I am trying to do a basic docbook -> xls-fo -> pdf
>
> It is a basic docbook book written in conglomerate on my newly  
> installed
> debian system. I use the latest fop-095beta.
>
> I have tried to include an image, but it does not show up in the pdf.
>
> What I do:
> - use conglomerate to create a small docbook called mbndocbooktest.xml
>
> - generate the xls-fo : I use the style sheet included in debian to  
> do the
> conversion.
> $ xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl
> mbndocbooktest.xml > mbndocbooktest.fo.xml
>
> - convert using fop
> $ ../../download/fop/fop-0.95beta/fop mbndocbooktest.fo.xml  
> mbndocbooktest.pdf
>
> Selected output is shown at the end.
>
> I also have an issue with draft.png, but I have read that it is a  
> question of
> status="draft" or something to that effect. The interesting part is  
> that the
> error related to this image is "Background image not available".  
> This makes
> sense since the draft.png is unavailable.
>
> My error is "No ImagePreloader found". I have tried to google it,  
> and search
> the archive but apparently I am looking in the wrong place.
>
> Any suggestions?
> cheers
>
> Morten
>
>
> Selected texts from the process.
> --- docbook xml extract ---
>    <chapter status="&quot;notdraft&quot;">
>        <title>Hello, world</title>
>        <screenshot>
>            <graphic fileref="file:///home/morten/Devel/FS/SomeImage.bmp 
> "/>
>        </screenshot>
>        <para>This is my first DocBook file.</para>
>        <para>lkjlkjlkj</para>
>    </chapter>
>
> --- xml-fo extract ---
>                <fo:block>
>                    <fo:external-graphic
> src="url(file:///home/morten/Devel/FS/SomeImage.bmp)" width="auto"
> height="auto" content-width="auto" content-height="auto"/>
>                </fo:block>
>
> --- Fop error extract ---
> 12-Apr-08 11:35:47   
> org.apache.fop.fo.properties.CommonBorderPaddingBackground
> <init>
> SEVERE: Background image not available:
> http://docbook.sourceforge.net/release/images/draft.png
>
> 12-Apr-08 11:35:48  org.apache.fop.fo.flow.ExternalGraphic bind
> SEVERE: Image not available: No ImagePreloader found for
> file:///home/morten/Devel/FS/SomeImage.bmp
>
>
>
> ---------------------------------------------------------------------
> 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