DOCX
JPG
PDF
XML
PPSX
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.
- Create a
Presentationinstance from the source PPSX file. - Get the first slide from the presentation.
- Set the output image dimensions with
Size. - Call
GetImageto render the slide. - 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 few listed below.
PPSX TO BMP (Bitmap Image)
PPSX TO EMF (Enhanced Metafile Format)
PPSX TO GIF (Graphical Interchange Format)
PPSX TO HTML (Hyper Text Markup Language)
PPSX TO JPEG (JPEG Image)
PPSX TO ODP (OpenDocument Presentation Format)
PPSX TO OTP (OpenDocument Standard Format)
PPSX TO PDF (Portable Document Format)
PPSX TO POT (Microsoft PowerPoint Template Files)
PPSX TO POTM (Microsoft PowerPoint Template File)
PPSX TO POTX (Microsoft PowerPoint Template Presentation)
PPSX TO PPS (PowerPoint Slide Show)
PPSX TO PPSM (Macro-enabled Slide Show)
PPSX TO PPT (Microsoft PowerPoint 97-2003)
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 Format)
PPSX TO XML (Extensible Markup Language)
PPSX TO XPS (XML Paper Specifications)