Image gets cropped while converting pdf to pptx using Aspose.PDF for Java

Hi, we are experiencing some issues while trying to convert pdf to pptx file using aspose.pdf library.
The image inside textbox gets its corners cropped after the conversion. Please find the pdf input attached. Also, below is the code snippet to replicate this behaviour.

repro_#2535881.pdf (11.4 KB)

In case some options need to be passed to avoid such outcome, please advise.

@Test
  void export_exportWithAB() throws IOException {
    byte[] pdfBytes =
        new ClassPathResource("repro_#2535881.pdf").getInputStream().readAllBytes();
    try (Document srcDoc = new Document(pdfBytes)) {
      ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
      srcDoc.save(outputStream, SaveFormat.Pptx);
      byte[] pptx = outputStream.toByteArray();
      Files.write(Path.of("test.pptx"), pptx, StandardOpenOption.CREATE);
    } catch (Exception e) {
      e.printStackTrace();
    }
  }

@dfinsolutions

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-44002

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.

The issues you have found earlier (filed as PDFJAVA-44002) have been fixed in Aspose.PDF for Java 24.7.