This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
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.