Labels Are Blacked Out on the Bar Graph while Converting from PDF to PPT in Java

Hello Aspose slide team,

We’re facing issue of background color of Bar graph getting blacked out on some of the labels while converting PDF into PPT.
Please find the attached PDF and screenshot of ppt file generated.

Note: We’re currently using following versions of aspose.

compile group: ‘com.aspose’, name: ‘aspose-words’, version: ‘22.12’, classifier: ‘jdk17’
compile group: ‘com.aspose’, name: ‘aspose-cells’, version: ‘22.12’
compile group: ‘com.aspose’, name: ‘aspose-pdf’, version: ‘22.9’
compile group: ‘com.aspose’, name: ‘aspose-slides’, version: ‘23.2’, classifier: ‘jdk16’

issue_ppt.jpg (271.7 KB)
report_pdf.pdf (148.6 KB)

ThankYou
Sandip

@sandipgole,
Thank you for contacting support.

We need more details to investigate the case. Please share the following additional information:

  • code example that reproduces the problem
  • OS version on which the conversion was performed
  • JDK version in your app

Thank you for your response.
Please find the details below.

Code Example:

import com.aspose.pdf.*;
import com.aspose.slides.*;
import com.aspose.slides.exceptions.Exception;

public class Convert {

    public static void main(String[] args) {
        try{
            Document document1 = new Document("/Users/sandip.gole/Desktop/untitled1/src/main/resources/report_pdf.pdf");
            document1.save("PptxOutput.pptx", com.aspose.pdf.SaveFormat.Pptx);
            Presentation presentation = new Presentation("PptxOutput.pptx");
            presentation.save("output.ppt", com.aspose.slides.SaveFormat.Pptx);
        }
        catch(Exception e){
            e.printStackTrace();
        }
    }
}

Os Version:
Local machine: MacOS ventura 13.5.2
Server: CentOS Linux, Version 7

JDK Version:
Java JDK version 8

@sandipgole,
Thank you for the additional information. It looks like the problem does not appear with Aspose.PDF for Java 23.9. We recommend using the latest version of Aspose.PDF for Java.

I’ve moved this forum thread to Aspose.Total forum.

Thank You for support.

@sandipgole,
Thank you for using Aspose products.