| Author |
how to avoid image scaling with apache fop
|
kopparapu v kiran kumar
Greenhorn
Joined: Oct 16, 2008
Posts: 25
|
|
Hi,
I'm currently making use of FOP to generate the PDF documents. I'm facing an issue while placing the image file. The problem is that I want to keep the image as it is with the image original dimensions. So I'm not giving any properties to fo:external-graphic tag. But the image is shrinking. The version of fop I'm using is 0.94version.
What needs to be done to avoid this shrinking?
I tried by setting
option 0: tryied with scaling="non-uniform", with some dimensions but image is not rendered in the proper shape as required.
option 1: content-width="auto", content-height="auto", scaling="uniform", width="100%", height="100%"
option 2: content-width="scale-to-fit", content-height="scale-to-fit", scaling="uniform", width="100%", height="100%"
I'm able to see the image in the PDF document but it is shrinked the width and height of the image and placed in the pdf document. I want to avoid this shrinking and keep the image in the pdf as it is with it's original image dimensions.
Please provide me the solution for this.
Please do not worry about typos.
Thank you very much for the help!!
|
 |
 |
|
|
subject: how to avoid image scaling with apache fop
|
|
|