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 "J.Pietschmann" <j3...@yahoo.de> on 2002/08/21 23:48:57 UTC

Re: image fitting in apage

You should not hijack threads, or at least delete the
old content and change the subject line the first try.

Deva nathan wrote:
> i need to place a image at left hand top corner in my
> page  something like letterHead
> i can able to place the small image,where else if i'm
> placing the bigger image i'm getting the warning "Some
> static content could not fit in the area" 
> 
> how ever i had adjusted the top margins..but i
> couldn't get this work.

This means the graphic and perhaps some more content is
still too large to fit the header.

> is there any way to specify the image width and height
> in the fo:external-grapics...

Use <fo:external-graphics width="2cm" height="2cm" ... />
or whatever width+heigth you want to use. If you use only
one of heigth and width, the aspect ratio of the image is
preserved, aotherwise the image is stretched to fit the
measurements.

J.Pietschmann