cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports: is it possible to get higher resolution PNG images when exporting to HTML

yumb
Explorer
0 Kudos
375

Currently in Crystal Reports, exporting the report with charts to HTML creates very small low-resolution pixelated PNG chart images (below 10 KB in size), while the PDF contains clear charts. Our customer complains on it and asks for higher resolution images.
Is it possible to get higher resolution images during Export to HTML? Or use some other export that will create high-resolution chart images?

Thank you!
Product: Crystal Reports 2016, Crystal Reports for Visual Studio.

DonWilliams
Active Contributor
What version of CR are you using? And please removed these 2 tags, not needed - SAP Crystal Reports, version for Visual Studio, SAP Crystal Reports - SDK
yumb
Explorer
0 Kudos
Hi Don, CR versions are: Designer - Crystal Reports 2016 (SP9 Patch 15); Runtime - CR for Visual Studio SP36 32-bit

Accepted Solutions (0)

Answers (3)

Answers (3)

DonWilliams
Active Contributor

Hi Yum,

Here' the info in KBA regarding the fix in CR for VS:

  

DonWilliams_0-1723658034780.png

 

   3333218 - HTML export of Crystal Reports with logo using .NET SDK results in a cropped and blurred logo

Symptom

  • HTML export of Crystal Reports with logo using .NET SDK results in a cropped and blurred logo.
  • Exporting the Crystal Reports to PDF doesn't affect the logo.
  • The issue doesn't occur with the CR designer, only with the .NET SDK.

Other Terms

CR .NET SDK, exporting, HTML 4.0, logo truncated, distorted.

Reason and Prerequisites

Environment

  • SAP Crystal Reports, version for Microsoft Visual Studio SP34
  • SAP Crystal Reports Server 2020, OEM Edition Support Package 3

Reproducing the Issue

  1. Create a Crystal Report with logo(picture object)
  2. Export the Crystal report to HTML40 format using .NET SDK.
  3. The logo in the exported HTML document is cropped and blurred.

Cause

The reason for the undesired behavior is a program error.

DonWilliams
Active Contributor

Try this:

Not sure about the registry, but have they tried:

DonWilliams_0-1723551911931.png

It would be nice to have report with saved data for testing.

Do you have one?

And this KBA, fixed in SP 35:

3333218 - HTML export of Crystal Reports with logo using .NET SDK results in a cropped and blurred l...

I can't get to the SAP Note so I'll ask them if there is a KBA.

yumb
Explorer
0 Kudos
Don, thank you for the answer! I see this setting in Designer (Crystal Reports 2016). Should it work in runtime for HTML export? (BTW, I also cannot open mentioned SAP Notes page)
DonWilliams
Active Contributor
0 Kudos
Yes the fixes done in CR Designer are usually ported over to .NET runtime, but not always. In this case it was. Also note that changes/settings in the Designer are also used at runtime so be sure to update the reports.
DonWilliams
Active Contributor
0 Kudos

Check these registry keys to possibly improve the resolution:

2165260 - List of Registry Keys used in Crystal Reports

 

yumb
Explorer
0 Kudos
Hi Don, thank you for an answer! But I could not find any registry setting relevant to PNG export resolution. Can you give a hint? Thank you.
DonWilliams
Active Contributor
Hi Yum, sorry I thought there was sopme for this issue. I don't work at SAP any more, Retired now, so I'll ping one of the report Rep's and get him to look into it for you...