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 "Philip S. Constantinou" <ph...@wayfinder.net> on 2002/07/19 19:31:11 UTC

Image resolution in FOP

I'm struggling a bit with embedding images into FOP.

The FOP to PDF converted always seems to output the image at 72 DPI
regardless of the stored format. So far I've only tried GIF which doesn't
support resolution and JPG which does but in both cases the image comes at
72 DPI.
Any other options- attributes to the external-graphic tag? other file
formats?

Thanks -

Phil


Re: Image resolution in FOP

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Philip S. Constantinou wrote:
> I'm struggling a bit with embedding images into FOP.
> 
> The FOP to PDF converted always seems to output the image at 72 DPI
> regardless of the stored format. So far I've only tried GIF which doesn't
> support resolution and JPG which does but in both cases the image comes at
> 72 DPI.
> Any other options- attributes to the external-graphic tag? other file
> formats?

You can use height and/or width, in a length unit (cm, mm, pt).
If you use only one of these properties, the aspect ratio of
the image will be preserved.

J.Pietschmann