HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › uncorrect size for image › Re: Re: uncorrect size for image
June 11, 2010 at 16:00
#27817
I think this is an issue of DPI. PD4ML seems to increase the image size by about 20%.
What DPI does PD4ML render at?
If I know that, I can potentially specify a smaller-than-normal height and width for the images in my image tags, so they render properly.
To test this, try rendering any image and you will notice it’s larger on the PDF than on the web page, causing it to be pixelated.
Like so:
(Haven’t tried it without the width/height specified – could that be the cause?)