XSL-FO provides no means to scale a background-image. The image must be
as big as you need it to be. You can try to create an SVG graphic that
has the right size and scale the JPEG image inside SVG.

On 03.05.2006 21:07:31 Tiago Mikhael Pastorello Freire wrote:
> Hi, 
> I am getting started to FOP and I am using a very simple testcase:
> -----------
> <?xml version="1.0" encoding="utf-8"?>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
>       <fo:layout-master-set>
>               <fo:simple-page-master master-name="A4" page-width="210mm"
>                                                          page-height="297mm">
>                       <fo:region-body region-name="PageBody" margin="10mm" 
> background-image="bg.jpg"/>
>                       
>               </fo:simple-page-master>
>       </fo:layout-master-set>
>       <fo:page-sequence master-reference="A4">
>               <fo:flow flow-name="PageBody">
>                       <fo:block>Hello World</fo:block>
>               </fo:flow>
>       </fo:page-sequence>
> </fo:root>
> ------------
> And I want to scale the background image to the ful page height and width.
> How can i accomplish this?


Jeremias Maerki


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

Reply via email to