Images in PDF are Getting Distorted and Cropped when Converting from PPTX in C#

We are utilizing Aspose Slide for .NET 23.9.0. Attaching sample code base for your reference.
If you could help us by resolving the following
In the converted PDF -

  1. On slide 1 - image is getting distorted
  2. On slide 2 and 3 - image is getting cropped
    PPTtoPDF.zip (1.7 MB)

@saket.tamgadge,
Thank you for reporting on the issue.

Please share the following additional file and information:

  • output PDF file
  • OS version on which the conversion was performed

@andrey.potapov
OS Version

  1. Windows 10 Pro
  2. Windows Server 2019 Datacenter
    PDF-result.pdf (138.8 KB)

@saket.tamgadge,
Thank you for the additional information.

You should use the SufficientResolution property from the PdfOptions class like this:

var pdfOptions = new PdfOptions
{
    SufficientResolution = 300
};

using var presentation = new Presentation("90.pptx");
presentation.Save("output.pdf", SaveFormat.Pdf, pdfOptions);

The result will be better.

I’ve reproduced the problem you described. 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): SLIDESNET-44330

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.

Thanks @andrey.potapov .
How can we check the status of the ticket for the resolution? Or can you share any timeline by which this fix will get released?

@saket.tamgadge,

You can check the status of the ticket at the bottom of this forum thread. You will also be notified when a new Aspose.Slides release with a resolution is published.

The issue is still open. Unfortunately, I don’t have any additional information yet.

The issues you found earlier (filed as SLIDESNET-44330) have been fixed in Aspose.Slides for .NET 24.3 (ZIP, MSI).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.