Quality of image

42 views
Skip to first unread message

Ryan

unread,
Apr 7, 2015, 4:14:37 PM4/7/15
to pdfne...@googlegroups.com
Q:
Using PDFDraw the resulting image doesn't look as good as other PDF to image conversion

A:
To maximize speed of rendering, by default PDFNet uses fast re-sampling algorithms.

With PDFDraw though you can often increase image quality, without changing dpi, by enabling the hq_image_resampling in SetImageSmoothing.

draw.SetImageSmoothing(true, true); // second parameter is hq_image_resampling


Ryan

unread,
Jun 23, 2015, 1:37:37 PM6/23/15
to pdfne...@googlegroups.com
Some images actually come out the best with no smoothing at all. So an alternative setting to the default, or the one mentioned above, is to disable smoothing.

draw.SetImageSmoothing(false, false);






Reply all
Reply to author
Forward
0 new messages