xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Delmelle" <andreas.delme...@telenet.be>
Subject Re: fop enlarges images?
Date Sat, 08 Nov 2008 10:24:40 GMT
>----- Oorspronkelijk bericht -----
>Van: Andrew Sharpe [mailto:andrewrwsharpe@yahoo.com]

Hi

> Using version 0.95 of FOP and running 
> "fop -xml test.xml -xsl test.xsl -pdf test.pdf", 
> I get the attached PDF.  
> Notice the image looks bigger in the PDF than it does 
> in a graphics viewer.  
> Seeing as the DPI is 72, shouldn't it display the same size in both?  

I checked the JPEG in an image viewer, and its resolution registers as 96dpi, so the fact
that it appears slightly larger is expected.

336 pixels (input) * 96/72 = 448 pixels (output)

Cheers

Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message