Hello,

 

>> Is that what you were trying to achieve?

 

No. I want to leave the image as it is and prevent FOP from scaling up or
down. Using this:

<fo:external-graphic src="300dpi.jpg" width="1919px" height="1272px"
content-width="scale-to-fit" content-height="scale-to-fit"/>

 

FOP implicitly assumes that the image's DPI is 72, so when calculating the
mpt size we get (1919000, 1272000), and the image is rendered with no
scaling applied.

 

My question is: Is there any way to override the image's DPI in FOP using
the config?

 

Thanks

 

Seifeddine

 

 

 

Reply via email to