xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Hokanson <nd...@email.byu.edu>
Subject Re: 300dpi JPEG scaling
Date Thu, 03 Apr 2003 15:55:56 GMT
On Sun, 2003-03-30 at 03:43, J.Pietschmann wrote:
> automatic fitting sets in. Specify the width and height you want
> in the resulting PDF in non-pixel units. The scaling property is
> not supported anyway.
>  > For instance, I have taken a very large image (1.2MB) that is 1760 x
>  > 1184 pixels (5.867in x 3.947in) and am trying to scale it.  I can get it
> Well, specifying
>   <fo:external-graphic src="/var/data/images/1/127.jpeg"
>   width="5.867in" height="3.947in"/>
> should be sufficient.

That did the trick!  I set the container that held the image to the
actual pixel size of the image, then can specify the width in the
fo:external-graphic tag in inches, and that "scales" the image.  

Thanks for the help!

Nathan Hokanson

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

View raw message