This is a migrated thread and some comments may be shown as answers.

Image Quality Problem in ReportViewer WPF

1 Answer 170 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 26 Sep 2017, 12:03 PM

Hello,

we have a problem with displaying images in the PictureBox.

Within the designer, all images are displayed in good quality.

Also in the preview of the report in Visual Studio, all images are displayed in good quality.

If we start the application and display the report via the report viewer, all images are displayed in a poorer quality.

What could be the problem?

1 Answer, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 28 Sep 2017, 09:05 AM
Hi Michael,

The quality of the images in PictureBox item is mostly decreased when a scaling is applied. The renderer does not apply antialiasing or any other bitmap scaling mode when drawing the PictureBox's contents, because it would slow down the rendering process. So when drawing images, we use the default scaling mode (Linear), which provides the fastest processing.

Based on users demand, we will introduce a Device Information setting that will allow the user to control the bitmap scaling mode when rendering in WPFXAML and WPFXAMLInteractive formats. Once it passes the testing stage, this improvement will be included in a subsequent release of our product. 

Regards,
Ivan Hristov
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Gabriel
Top achievements
Rank 1
commented on 03 May 2022, 07:38 AM

Hello,

Is it implemented now ?

I'm displaying a SVG logo in the report. But in the WPF reportViewer, the image is in bad quality.

How can I fix it ?

Neli
Telerik team
commented on 05 May 2022, 01:38 PM

Hi Gabriel,

The PictureBox works with SVG images, so it is not expected to see the picture with bad quality. Do you have any settingd of the rendering in the app.config file?

Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Share this question
or