[poppler] Postscript native image resolution

suzuki toshiya mpsuzuki at hiroshima-u.ac.jp
Tue Jul 5 13:49:51 UTC 2016


Dear Pierre,

Sorry for that I'm posting this before testing by myself,
have you take a look on pdftocairo? I remember, when I
convert a pdf to a svg, pdftocairo does not re-rasterize
the embedded raster image, so I expect PS output from
pdftocairo could be better for your purpose.

Regards,
mpsuzuki

Pierre-Luc Samuel wrote:
> Hi,
> 
> I've been wondering if there is a feature for pdftops that would convert 
> pdf to postscript by keeping the original resolution of images embedded 
> in the pdf?  The problem I'm encountering is that my pdfs contain low 
> res images that are stretched to be big; pdftops converts them by 
> re-rasterizing the low res images so that they look smooth.
> 
> The result is that my images now look extremely smooth, but the 
> resulting postscript file size explodes.  The issue I have with "-r 
> <dpi>" is that the native resolution of my images is about 150 dpi, but 
> when using "-r 150", I get reasonable file sizes, but the text sections 
> of the pdf becomes barely readable....  I would like to suggest a 
> "-nativeimageres" option that would be independent of the existing "-r 
> <dpi>" option.
> 
> Do you guys think a "-nativeimageres" option is technically possible? 
> Could you give me indications where to start, in case I need to look 
> deeper into this?
> 
> Thanks,
> Pierre-Luc
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler



More information about the poppler mailing list