Rank: Member Groups: Member
Joined: 4/22/2011 Posts: 17
|
Hi everyone, I've tried looking for an answer to this but can't see one in the forums. I have customers who are generating PDFs through my software. Each one has 6 large images on it and comes to approx 18mb. Now they are asking if they can email the PDFs. Is there some resolution or quality setting I can use to reduce the size. I don't really want my customers to have to start reducing the size of their images.
Thanks
Adrian
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
You can set HtmlToPdfOptions.JpegQualityLevel to control the image quality. The lower the image quality, the smaller the file size.
Our early version does not consider JpegQualityLevel if the original image in the HTML files are already JPEG. So if you are using an early version and the original image files are JPEG, then this option has no effect. In that case you can upgrade to the latest build, which does consider JpegQualityLevel even if the original file is already JPEG.
Thanks!
|