[poppler] pdf2svg image quality

Jan Kümmel jan+freedesktop at snorc.org
Sun Dec 4 05:35:35 PST 2011


Hi,
when pdf2svg uses poppler to render a pdf to a cairo svg surface, 
embedded images are downscaled by CairoOutputDev::downscaleSurface which 
results in poor image quality.
Please find attached a simple patch preventing downscaling for svg 
surfaces. Works for me.
Could this be useful for other scalable surface types, too?

Regards,
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dont_downscale_images_for_cairo_svg_surfaces.patch
Type: text/x-patch
Size: 732 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20111204/68ac41e5/attachment.bin>


More information about the poppler mailing list