Page 1 of 1

Scaled High Resolution Image gets blurry in WebViewer and pdf

Posted: Mon Oct 24, 2011 6:15 am
by aikar
Hello everyone

I need to show a detailed logo with text (all as png-image) in a report. I have added the high resolution image to the report in the designer, scaled it to the needed size and set the Properties AspectRatio=True,Stretch=True

It looks very good in the preview of the designer, but when I render it to the web viewer or as pdf, the image becomes blurry.

It also looks good in the WebPreview (Flash) in the Designer but not in the HTML-Preview.

I have tried to set the image quality in ExportPdf to 1 and the image resolution up to 300,600 and finally 1200 but there is no change.

What can I do?

Thanks in advance

Scaled High Resolution Image gets blurry in WebViewer and pdf

Posted: Tue Oct 25, 2011 2:32 am
by HighAley
Hello.
aikar wrote:I need to show a detailed logo with text (all as png-image) in a report. I have added the high resolution image to the report in the designer, scaled it to the needed size and set the Properties AspectRatio=True,Stretch=True

It looks very good in the preview of the designer, but when I render it to the web viewer or as pdf, the image becomes blurry.

It also looks good in the WebPreview (Flash) in the Designer but not in the HTML-Preview.

I have tried to set the image quality in ExportPdf to 1 and the image resolution up to 300,600 and finally 1200 but there is no change.
When exporting a report, images are processed depending on image properties and export options.
We cannot exclude completely processing of the images.

In PDF export all images are exported in one resolution which you can set in the export settings.

In HTML export By default all images are rendered with 100dpi resolution. To allow export of images with initial dpi, please set the following static property to true:

Code: Select all

StiOptions.Export.Html.UseImageResolution = true
Thank you.

Scaled High Resolution Image gets blurry in WebViewer and pdf

Posted: Tue Oct 25, 2011 3:19 am
by aikar
Thanks, that solved my problem

Scaled High Resolution Image gets blurry in WebViewer and pdf

Posted: Tue Oct 25, 2011 10:15 pm
by Andrew
Hello,

Great!

Have a nice day!
Thank you.