Scaled High Resolution Image gets blurry in WebViewer and pdf

Stimulsoft Reports.NET discussion
Post Reply
aikar
Posts: 11
Joined: Tue Jun 07, 2011 3:19 am

Scaled High Resolution Image gets blurry in WebViewer and pdf

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Scaled High Resolution Image gets blurry in WebViewer and pdf

Post 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.
aikar
Posts: 11
Joined: Tue Jun 07, 2011 3:19 am

Scaled High Resolution Image gets blurry in WebViewer and pdf

Post by aikar »

Thanks, that solved my problem
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Scaled High Resolution Image gets blurry in WebViewer and pdf

Post by Andrew »

Hello,

Great!

Have a nice day!
Thank you.
Post Reply