cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Poor quality images and icons on Windows 11 22H2

fabriziocs
Explorer
0 Likes
3,856

Hi,

with the update from Windows 11 21H2 to 22H2 the images aren't displayed correctly on windows forms and WPF applications. Even the icons on the CrystalReportViewer are effected.

I'm running Visual Studio Professional 2022 (version 17.5.2) with the latest Crystal Report service pack (CRforVS6413SP33)

To test the issue just create a new application with the Crystal Report default template and add an image.

On the report designer the images looks well

On the form designer the quality decrease a lot, even the parameters and zoom icons. Running the application results in the same poor quality.

I've tried to apply the fix for OLE Objects but the problem persists (KB3204578)

Accepted Solutions (0)

Answers (11)

Answers (11)

fabriziocs
Explorer
0 Likes

Here a simple demo project built from default windows forms template to show that the issue isn't fixed on SP39

DonWilliams
Active Contributor
Thank you.. R&D confirmed it is an issue in code still and it should be fixed in the next patch...
DonWilliams
Active Contributor
0 Likes

This issue has been fixed in SP39

You can get it from here:

https://help.sap.com/docs/SUPPORT_CONTENT/crystalreports/3354091173.html?locale=en-US

I verified it has been fixed

fabriziocs
Explorer
0 Likes
No the issue isn't fixed, only the images added directly on the designer have an acceptable quality, the images loaded from dataset have the same poor quality as in the other SP. I'll post a simple demo project
DonWilliams
Active Contributor
0 Likes

This issue has been fixed in SP39

You can get it from here:

https://help.sap.com/docs/SUPPORT_CONTENT/crystalreports/3354091173.html?locale=en-US

I verified it has been fixed

fabriziocs
Explorer
0 Likes
With SP39 there is an huge improvement on the image quality if added directly on the report (but still some glitch persist). But if I load the image dynamicaly from the code the quality it's still really bad, like on the older SP, so the issue it's not solved
DonWilliams
Active Contributor
0 Likes
can you provide a sample app that demonstrates the issue so I can test it and send it R&D to test with also?
fabriziocs
Explorer
0 Likes

Sure, I've already posted a sample app here, didn't find a way to attach directly in the reply

https://community.sap.com/t5/technology-q-a/poor-quality-images-and-icons-on-windows-11-22h2/qaa-p/1...

fabriziocs
Explorer
0 Likes
Sure, I've already posted the link to a sample app, dind't find a way to attach directly
DonWilliams
Active Contributor
0 Likes

Hello again,

I was checking old posts that are still unanswered and for this one.

There's been a few other image handling issues and test your image again and still not working properly.

I sent your image to R&D to see if they can fix this issue in the WinForm Viewer...

FYI  using current version of Windows 11:

DonWilliams_0-1761172664169.png

 

Don

fabriziocs
Explorer
0 Likes

Hi Don,
Thank you for your commitment, it is very important for us that this problem is resolved, it causes many problems for our customers.

I don't remember if I specified it in the past but the problem is not limited to the WinForm Viewer, even printing and exporting to PDF don't work well.

I also tried on the latest version of Windows 11 25H2

 

DonWilliams
Active Contributor
0 Likes

Sorry it never got completely resolved, according to R&D they partially fixed it so it looks better as an Icon but the image rendering itself wasn't fixed.

They say it'll be fixed in SP 36 due out in 6 months or so..

fabriziocs
Explorer
0 Likes
Just tried with SP37, still the issue with the images isn't fixed, we are waiting for a solution from 2 years
fabriziocs
Explorer
0 Likes
Today someone marked this issue as Solved but it's not fixed, I've tried with latest release SP38
DonWilliams
Active Contributor
0 Likes

Checking with R&D to confirm it made it in.

DonWilliams
Active Contributor
0 Likes

Apparently the fix never made it into SP 34 due to something else caused SP 34 to be released early.

I guess you'll have to wait for SP 35.

fabriziocs
Explorer
0 Likes

I waited another 6 months for the SP35 but it still doesn't work

DonWilliams
Active Contributor
0 Likes

Hi Fabrizio,

R&D did say it would be fixed in SP 34, I pinged them to verify it was fixed.

Can you verify you are using SP34 runtime?

To update uninstall SP 33 first, the 32 bit runtime and then the EXE that integrates into VS.

Then right click on the setup.exe and select Run As Administrator, install the 32 bit runtime when it prompts.

Is your project set for X86 or X64 in the properties? Try both ans see if it makes any difference.

Thanks again

Don

fabriziocs
Explorer
0 Likes

Crystal report version is 13.0.34.4636, both for 32 and 64 bit, SP 33 was uninstalled before.

Visual Studio Professional 2022 version is 17.6.3

I've tried to run the project with x86 and x64, make no difference

DonWilliams
Active Contributor
0 Likes

Hi Fabrizio,

I contacted my contact in R&D and he confirmed it is an issue in SP 33, it's been fixed in BOE.

He'll have the fix in SP 34 due out in a few months or so, no release date set at this time.

Thank you for finding the issue and reporting it.

Don

fabriziocs
Explorer
0 Likes

The problem persist with the latest SP 34

DonWilliams
Active Contributor
0 Likes

Thanks for the image file.

I'll ask R&D to test it.

One thing I did a while ago was to get this API into the Winform Viewer:

LstInterpolationMode.Enabled = true;
Array CRinterpolationMode = Enum.GetValues(typeof(System.Drawing.Drawing2D.InterpolationMode));
foreach (object obj in CRinterpolationMode)
{
    //CRInterpolMode.GetTypeCode(CRinterpolationMode);
    LstInterpolationMode.Items.Add(obj);
}
LstInterpolationMode.SelectedItem = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;

Above creates a list box with the options:

Then set it in the Viewer like so:

crystalReportViewer1.InterpolationMode = (System.Drawing.Drawing2D.InterpolationMode)LstInterpolationMode.SelectedIndex;

Now I don't think I tested this with the WPF viewer and not sure if it's going to work but give it a try.

If the API is not recognised then all I can suggest is to use the WindowsForm viewer, we never spent much time updating the WPF viewer because no one was using it and better to spend resources on the WInForm and WebForm viewers.

Thanks

Don

fabriziocs
Explorer
0 Likes

I tried all the possible interpolation mode. I can see differences between each mode but the quality stay poor on the images.

I can't see differences on the tollbar icons

DonWilliams
Active Contributor
0 Likes

Can you attach the image file you are using so we can test it also?

If the file doesn't attach append *.txt to it and it should attach

fabriziocs
Explorer
0 Likes

Sure, here the image 00018681.jpg

DonWilliams
Active Contributor
0 Likes
Hello, R&D is aware of the issue and it's been tracked but currently not enough resources to look into it. They will get to it when a developer is available...