Page 1 of 1

Graphics Quality when exporting to PDF

Posted: Sat Mar 27, 2010 4:58 pm
by Sergey
Hi,

When I export report as PDF, the quality of graphics is not enough: my images contain text and text is very hard to read because of distortions caused by graphics compression.
As I know, several different algorithms of graphics compression can be used in PDF. Some of them do not affect quality, but as I understand, in StimulSoft by default JPEG with data loss is used, so the final quality is not good.

Does anybody knows how to improve quality of graphics during rendering and export report to PDF? (Either change to another algorithm or increase JPEG quality).

Thank you

Graphics Quality when exporting to PDF

Posted: Mon Mar 29, 2010 2:41 am
by Jan
Hello Sergey,

Our report engine use JPEG method by default. You can change it Image Compression property of pdf export settings. Please change it to Flate value.

Thank you.

Graphics Quality when exporting to PDF

Posted: Mon Mar 29, 2010 7:59 am
by Sergey
Thank you Jan

This really helped me with graphics quality, but degradated performance and memory consumption significantly.
Ok, this is always a trade off, at least I can give choise to my users :)

Thanks again,
Sergey

Graphics Quality when exporting to PDF

Posted: Tue Mar 30, 2010 1:15 am
by Andrew
Hello,

When using Jpeg you may set the Image quality to 100% (the default value is 75%), this will improve the quality of images.
In version 2010.1 new algorithm of monochrome images compression was introduced. This considerably decreases the size of a file.

Thank you.

Graphics Quality when exporting to PDF

Posted: Tue Apr 06, 2010 7:25 am
by gurdeeptoor
Hello

I do it with following code before exporting to pdf. I am using 2009 version.

Dim Report As New StiReport

Dim sqlcon As SqlConnection = New SqlConnection

Report.Load("C:\MyReports\MyReport.mrt")

Report.RegData("Connection", sqlcon)

Report.Compile()

Report.Render()

Dim settings As StiPdfExportSettings = New StiPdfExportSettings()

settings.ImageQuality = 2.5F '//Default 0.75
settings.ImageResolution = 200 '//Default 100

Report.ExportDocument(Stimulsoft.Report.StiExportFormat.Pdf, "C:\MyReports\Report1.pdf", settings)


Hope that helps