Here is another email I got because I help do the FAQ.
Perhaps someone can answer it and CC the original questioner.

[EMAIL PROTECTED]

PS "doreen" please join the fop-dev mailing list and ask there.

Alex

 Originally to:     alex
 Date:              Tue, 26 Jun 2001 01:07:33 +0000 (GMT+00:00)


 Subject: [FAQ] Is there any method for me to know the width and height of a jpg file 
in fo
 i have tried to embedded a jpg file into pdf with the use 
 external-graphic and reading a element in xml as follow:

 ==========================================================
 <xsl:element name="fo:external-graphic">
   <xsl:attribute name="src">
   file:/home/newsclip/html
   <xsl:apply-templates select="Graphic"/>
   </xsl:attribute>
   <xsl:attribute name="text-align">center</xsl:attribute>
   <xsl:attribute name="width">50%</xsl:attribute>
 </xsl:element>
 ===========================================================

 however, as the size of images varies, some pdf generation will be failed for some 
images. and i
think it is the problem of the images....that means, the size is too big even it is 
minized to
50%, so is that any scaling method that can automatically adjusted the percentage 
required for the image?

=====
Alex McLintock        [EMAIL PROTECTED]    Open Source Consultancy in London
OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ 
DR WHO COMPETITION: 
http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104
Get Your XML T-Shirt <t-shirt/> at http://www.inversity.co.uk/

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to