xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bowditch <bowditch_ch...@hotmail.com>
Subject Re: Background Image Size
Date Wed, 05 Nov 2008 12:23:03 GMT
Barry Whiting wrote:

> Hi
> 
>  
> 
> I have an image embedded into my block-container so that I can overlay 
> another svg image that is dynamically generated over the top.
> 
>  
> 
> I need to resize the background image how ever so I was wondering if 
> somebody could tell me if this is possible at all?

For images included via fo:external-graphic you can get FOP to resize 
the image for you, by specifying content-width="scale-to-fit" However, 
there is no equivalent FO property for background images in XSL-FO. I 
know XEP has an extension attribute to allow background images to be 
scaled. As far as I'm aware there is no extension attributes like this 
for FOP. You will have to size the image with another tool before 
running FOP.

Regards,

Chris



---------------------------------------------------------------------
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