We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Chart Label Is Rendered Black when Converting from PDF to PPTX in Java

Hi,

I ran into an issue when converting a chart in PDF to PPTX. Screenshot 2023-03-02 at 10.02.29 AM.png (67.3 KB).

The column chart’s last label is rendered with a black background which is not present in the source PDF. Attached is the PDF for reference.

DRA.pdf.zip (45.6 KB)

Version used: 23.2
OS: macOS Ventura

Could you please take a look?

@srijal,
Thank you for contacting support.

Please share the following additional files and information:

  • code example that reproduces the problem with the chart
  • output PPTX file
  • JDK version in your app

The JDK version is 17 and the code is just simple conversion:

var fileName = "HRA";
try (Document document = new Document("src/main/java/" + fileName + ".pdf")) {
       document.save("saved.pptx", SaveFormat.Pptx);
}

The PPTX is attached.

saved.pptx.zip (810.7 KB)

Thanks

@srijal,
I have moved this forum thread to Aspose.Pdf forum. My colleagues will look into the issue and reply to you soon.

@srijal

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): PDFJAVA-42533

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.