Page 1 of 1

Image Control degrade image.

Posted: Mon Feb 04, 2013 12:48 pm
by amitkaushik
Hi,

I try to load image in image control dynamicly, it works but the quality of image degrade.
I use various image format even like jpeg, emf, png, bmp.

And when I save this file as pdf it also effect that.

Thank you.

Re: Image Control degrade image.

Posted: Mon Feb 04, 2013 2:15 pm
by HighAley
Hello.
amitkaushik wrote:I try to load image in image control dynamicly, it works but the quality of image degrade.
I use various image format even like jpeg, emf, png, bmp.

And when I save this file as pdf it also effect that.
You should change the Image resolution property of the PDF export settings. It is 100 dpi by default.

Thank you.

Re: Image Control degrade image.

Posted: Tue Feb 05, 2013 5:50 am
by amitkaushik
Hi,
I made the changes in PDF export settings, but result is same. my code is:

StiPdfExportSettings settings = new StiPdfExportSettings();
settings.ImageQuality = 2.5F;
settings.ImageResolution = 200;
report.ExportDocument(Stimulsoft.Report.StiExportFormat.Pdf,ReportPath,settings);

Thank you

Re: Image Control degrade image.

Posted: Tue Feb 05, 2013 10:35 am
by HighAley
Hello.

The ImageQuality couldn't be more then 1.
Please, read the '19.4.1.6 Export Settings' section of the Stimulsoft Reports Universal User Manual.

Thank you.

Re: Image Control degrade image.

Posted: Wed Feb 20, 2013 12:13 pm
by amitkaushik
Thanks, I got that.

Re: Image Control degrade image.

Posted: Wed Feb 20, 2013 1:03 pm
by HighAley
Hello.

We are always glad to help you.
Let us know if you will need any additional help.

Thank you.