Landray RDM EKP-23448 Convert Effect

cells source code:
src.zip (1.6 KB)

origin cells:
工资表2025年11月.xls.zip (8.7 KB)

before converted:
image.jpg (248.3 KB)

after converted:
image.png (422.2 KB)

Please have a check.

@hucq_landray_com_cn

I understand that you are converting 工资表2025年11月.xls to an image and the resulting PNG shows pixelized text and a larger file size ( image.jpg ≈ 248 KB → image.png ≈ 422 KB ). This behaviour matches a quality‑related issue that has been reported before, where both the text rendering and the base image quality degrade after the conversion [2].

What can be tried

  1. Enable antialiasing for the graphics context – before rendering the worksheet to an image, set the following rendering hints (Java example shown; the same idea applies to .NET):

    Graphics2D g2d = image.createGraphics();
    g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                         RenderingHints.VALUE_ANTIALIAS_ON);
    g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
                         RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
    

    This usually improves the sharpness of text in the generated image [3].

  2. Check DPI and scaling – if the image is later scaled (e.g., when embedding into a PDF) or viewed with a different DPI setting, the perceived quality can change. Make sure the image is rendered at the desired DPI and that no additional scaling is applied after rendering [5].

  3. Test with the latest Aspose.Cells build – many rendering improvements are delivered in newer releases. If you are not already on the most recent version, please upgrade and re‑run the conversion.

What is not related

The “thick bottom border” rendering problem mentioned in another thread is unrelated to the pixelization you are seeing [4].

What we need to investigate further

To reproduce the issue reliably we would need a minimal, self‑contained code sample and the following details:

  • Aspose.Cells version you are using (including the exact build number).
  • Target platform (Java, .NET, etc.) and runtime version.
  • The code you use to load the workbook and save it as PNG (including any image‑resizing steps).
  • Whether any additional processing (e.g., scaling, compression) is applied after the image is generated.

Please provide the above information (or a small project that reproduces the problem) so we can verify the behaviour and, if necessary, log it as a defect. Thank you.

@hucq_landray_com_cn
By testing with sample file and code on the latest version v25.12, we can reproduce the issue. The content display is inconsistent with excel when saving file to html.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CELLSJAVA-46591

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@hucq_landray_com_cn ,

Which version you are using? The results we shared were generated using Aspose.Cells 25.11
, and we were not able to reproduce the issue you mentioned. Output.zip (7.4 KB)
We recommend trying the latest version as well. If you still encounter any issues, please feel free to contact us