Skip to content

Images exported with HTMLExport are blurry #663

Closed

Description

@Wazrop

Describe the bug
When exporting a report containing images with HTML Export the images are blurred / low quality. If exporting the same report with SimplePDF Export the images are clear.

To Reproduce
Steps to reproduce the behavior:

  1. Create a report containing an image.
  2. Export the report with HTMLExport
  3. Open the exported HTML
  4. The blurred, low quality image is generated
  5. For comparison export the same report with PDFSimpleExport where the image is clear, high quality

Expected behavior
Images generated with HTMLExport should look the same as images generated with PDFSimpleExport.

Screenshots
HTMLExport:
image
SimplePDFExport:
image

Versions:

  • FastReport.OpenSource version 2024.1.2

Activity

  1. Yamasiash commented on Jan 10, 2024

    @Yamasiash

    Hello!

    We have checked the exports and the problem is not reproduced. Could you please attach a test report where we can reproduce the problem?

  2. Wazrop commented on Jan 14, 2024

    @Wazrop
    Author

    Hello,

    I have created an example project with this issue: https://github.com/Wazrop/FastReportImageExportTest

    The project is pretty straightforward. Endpoints are DownloadPdf and DownloadHtml which both generate either a pdf (PDFSimpleExport) or html (HTMLExport) from the same report file and download the file.

    The difference is even more noticeable if each file is printed onto paper.

    Thank you for your time.

  3. Alekarfes commented on Jan 31, 2024

    @Alekarfes

    That project reproduces what you're mentioning, but the difference isn't as drastic as in the first post.
    image

  4. Alekarfes commented on Jan 31, 2024

    @Alekarfes

    Also, please try enabling the HighQualitySvg property of the export.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions