Re: [docbook-apps] Images sizing in a PDF

From
"Cob Rtayton"
Date
2005-03-18T10:05:57+00:00
ID
004701c52b8a$9337b530$6400a8c0@toshiro
Thread
Re: [docbook-apps] Images sizing in a PDF
FOP simply does not support most of the properties that scale images.  I
have found that specifying the DocBook width attribute with a value that has
a unit of measure is the only thing that works reliably.

Bob Stayton
Sagehill Enterprises
DocBook Consulting


----- Original Message ----- 
From: "Jacques" <>
To: "docbook-apps" <>
Sent: Thursday, March 17, 2005 10:09 PM
Subject: Re: [docbook-apps] Images sizing in a PDF

Le jeudi 17 mars 2005, Bob Stayton disait :

>What XSL-FO processor are you using?

I am using the oXygenXML  integrated processor : xalan then apache-FOP.

I'd try "by hand" using command line with xsltproc and fop 0.20.5 and
the result is worst :-( My picture is not included in my PDF file.

% xsltproc /Volumes/Work/docbook-xsl-1.68.1/fo/docbook.xsl test.xml >
test.fo

% /usr/local/bin/fop/fop.sh -fo test.fo -pdf test.pdf

Give me an error : [INFO] Reverting to TIFF image handling through JAI:
Error while loading image file:Server Admin001.tiff : class
org.apache.fop.image.TiffImage - unsupported samples per pixel value 3

Jacques
-- 
S'il n'y pas de solution, c'est qu'il n'y a pas de probl鋗e