You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by tien hai nguyen <ti...@dental-on-line.fr> on 2004/02/18 17:33:29 UTC

problem background-image

Hi dear list !
I need to put a background-image but my image are so big
it is possible to scaling image in my xslt file ? I not find a attribute for 
background to scale.
It is possible to put a ps file in background or a eps file ?

Thanks
Tien hai


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


Re: problem background-image

Posted by Chris Bowditch <bo...@hotmail.com>.
tien hai nguyen wrote:

> Hi dear list !
> I need to put a background-image but my image are so big
> it is possible to scaling image in my xslt file ? I not find a attribute for 
> background to scale.

regular images processed via fo:external-graphic tag will be scaled if 
the actual image size doesnt match width and height attributes for 
fo:external-graphics. However the same is not true for background-image. 
There are no width/height properties relevant to the background image on 
the fo:region-* tags. You will need to adjust your background images to 
the desired size using a graphics program, Paint Shop Pro or similar 
before processing your XSL-FO with FOP.

> It is possible to put a ps file in background or a eps file ?

There is some support for EPS graphics, see

http://xml.apache.org/fop/graphics.html#eps

Chris



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