|
Rank: Newbie Groups: Member
Joined: 5/2/2016 Posts: 2
|
I'm generating a PDF via ASPxToPDF and it has a number of images. Adding 5 images totaling 2.4MB in size increases the size of the generated PDF from 85KB to 6.5MB. The images are all jpegs already and I've tried the following settings:
Code: C#
HtmlToPdf.Options.PreserveHighResImages = false;
HtmlToPdf.Options.SaveImageAsJpeg = true;
HtmlToPdf.Options.JpegQualityLevel = 10;
aspxToPdf.RenderAsPDF("moo.pdf");
With and without these options, the file size is identical and I see no difference in the quality of the images on the PDF. Am I setting the options correctly? aspxToPdf is the ASP.NET control on the page.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have confirmed this to be an issue on our side. This will be fixed in our next build, which will be posted either later this week or during the weekend.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/2/2016 Posts: 2
|
Great, thanks for the quick response and action!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
This is just to let you know that we have posted build 2016.0.78.0 that should fix this issue. You can download the new build from our download page.
Thanks!
|
|