xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philipp Wagner <li...@philipp-wagner.com>
Subject Re: Poor quality image scaling
Date Tue, 02 Jul 2013 15:59:46 GMT
Am 02.07.2013 17:54, schrieb Philipp Wagner:
> Am 02.07.2013 16:15, schrieb Lauri Kasanen:
>> Luis Bernardo <lmpmbernardo <at> gmail.com> writes:
>>
>>> Your screen capture is not half an inch, so we don't know where the
>> scaling comes from. Have you tried to zoom in with your PDF viewer?
>>> If you still have questions please provide original image, your fo file,
>> any fop.xconf if using it, and the generated pdf. I was unable to
>> reproduce
>> the issue you describe with a stock png image.
>>
>> Here's a zip containing the requested files:
>> http://bayfiles.net/file/S52n/Gw7iCz/fopzip.zip
>>
>> The image in the PDF looks bad at all zoom levels (100%, fit to
>> window, fit
>> to width, 300%, ...).
>
> It does look fine here in Acroread as well as in Okular; I would not
> expect FOP to actually do the scaling but the PDF viewer, but maybe the
> devs can answer that better than I do.

Actually, extracting the images using pdfimages (from poppler-utils) 
confirms that, the images are 256x256 px inside the PDF, just as the 
original ones. So all scaling comes from the PDF viewer.

Philipp

---------------------------------------------------------------------
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