DOCX JPG PDF XML PPSX
  Product Family
PNG

Convert PPSX to PNG in C++

Convert PPSX to PNG using Aspose.Slides for C++ without Microsoft PowerPoint.

Convert PPSX to PNG Using C++

Aspose.Slides for C++ is a PowerPoint processing API that lets you convert PPSX presentations to PNG in C++ applications without Microsoft PowerPoint. Install the library from NuGet or download it from the Aspose.Slides for C++ releases page .

Command

PM> Install-Package Aspose.Slides.Cpp

How to Convert PPSX to PNG via C++

Render a slide from a PPSX presentation to PNG with a few lines of C++ code.

  1. Create a Presentation instance from the source PPSX file.
  2. Get the first slide from the presentation.
  3. Set the output image dimensions with Size.
  4. Call GetImage to render the slide.
  5. Save the rendered image with ImageFormat::Png.

System Requirements

Before running the C++ conversion example, make sure that the following prerequisites are available.

  • Microsoft Windows, Linux, or another compatible OS with the supported C++ runtime.
  • Aspose.Slides for C++ referenced in your project.
 

PPSX to PNG C++ Conversion Source Code

auto presentation = MakeObject<Presentation>(u"presentation.ppsx");
auto slide = presentation->get_Slide(0);

auto desiredSize = Size(1200, 800);
auto image = slide->GetImage(desiredSize);
image->Save(u"slide.png", ImageFormat::Png);
image->Dispose();

presentation->Dispose();
 

Free App to Convert PPSX to PNG

Convert presentations and slides online.

Other Supported Conversions

You can also convert PPSX into many other file formats including a few listed below.

PPSX TO BMP (Bitmap Image)
PPSX TO EMF (Enhanced Metafile Format)
PPSX TO GIF (Graphics Interchange Format)
PPSX TO HTML (Hypertext Markup Language)
PPSX TO JPEG (JPEG Image)
PPSX TO ODP (OpenDocument Presentation Format)
PPSX TO OTP (OpenDocument Presentation Template)
PPSX TO PDF (Portable Document Format)
PPSX TO POT (PowerPoint 97–2003 Template)
PPSX TO POTM (PowerPoint Macro-Enabled Template)
PPSX TO POTX (PowerPoint Template)
PPSX TO PPS (PowerPoint Slide Show)
PPSX TO PPSM (Macro-enabled Slide Show)
PPSX TO PPT (PowerPoint 97-2003 Presentation)
PPSX TO PPTM (Macro-enabled Presentation File)
PPSX TO PPTX (Open XML Presentation Format)
PPSX TO SVG (Scalable Vector Graphics)
PPSX TO SWF (Small Web Format)
PPSX TO TIFF (Tagged Image File Format)
PPSX TO XML (PowerPoint XML Presentation)
PPSX TO XPS (XML Paper Specification)