Am 05.12.2011 um 18:48 schrieb Sergio Tamborini:

> Hi all!
> 
> ... I have a good quality image, but when I generate the pdf I have something 
> like jpg 30% quality :(


There are several settings you should apply:

call p.SetSaveNewImageFormat(false)

Makes sure pictures are not compressed again, but we add original whenever 
possible. For example keep JPEG as JPEG in the PDF.

call p.SetCompressionFilter(p.kcfFlate)

When compressing, use flat compression (= no compression)

call p.SetJPEGQuality(70)

Defines for JPEG compression what quality to use. But that is not needed for 
kcfFlate.

call p.SetResolution(300)

this defines the maximum resolution for pictures. As default is 150, you may 
want to set it to something bigger.

Please try them and tell me if that helps.

Greetings
Christian

-- 
See you in Orlando, Florida for Real World 2012

More details and registration here:
http://www.realsoftware.com/community/realworld.php



_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to