Welcome Guest Search | Active Topics | Sign In | Register

Image quality Options
Daniele
Posted: Friday, December 7, 2012 10:28:26 AM
Rank: Member
Groups: Member

Joined: 11/15/2012
Posts: 16
Hi, i'm using trial ASPXToPDF1 control (last version).
In my page there's only one PNG image file in high quality. When i create the PDF version calling RenderAsPDF(true) the quality of image in pdf seems bad.
I think that the images are converted in low quality jpg. How can i set the quality of converted images in pdf?

Thanks!
Daniele
Posted: Friday, December 7, 2012 10:39:55 AM
Rank: Member
Groups: Member

Joined: 11/15/2012
Posts: 16
Funded:
EO.Pdf.HtmlToPdf.Options.JpegQualityLevel = 100;
HtmlToPdf.Options.PreserveHighResImages = true;

thanks!
eo_support
Posted: Friday, December 7, 2012 10:42:18 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Yeah. Those are the magic bullets. :)

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.