Image Control degrade image.
-
- Posts: 74
- Joined: Fri Dec 07, 2012 11:35 am
Image Control degrade image.
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.
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.
Hello.
Thank you.
You should change the Image resolution property of the PDF export settings. It is 100 dpi by default.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.
Thank you.
-
- Posts: 74
- Joined: Fri Dec 07, 2012 11:35 am
Re: Image Control degrade image.
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
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.
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.
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.
-
- Posts: 74
- Joined: Fri Dec 07, 2012 11:35 am
Re: Image Control degrade image.
Thanks, I got that.
Re: Image Control degrade image.
Hello.
We are always glad to help you.
Let us know if you will need any additional help.
Thank you.
We are always glad to help you.
Let us know if you will need any additional help.
Thank you.