DOCX
JPG
PDF
XML
PPSX
JPEG
Convert PPSX to JPEG in C++
Convert PPSX to JPEG using Aspose.Slides for C++ without Microsoft PowerPoint.
Convert PPSX to JPEG Using C++
Aspose.Slides for C++ is a C++ library for creating, reading, editing, and converting presentation files. It allows developers to convert PPSX files to JPEG in C++ applications without Microsoft PowerPoint.
Install the library from NuGet or download it from the Aspose.Slides for C++ releases page . You can also install it from the Package Manager Console.
Command
PM> Install-Package Aspose.Slides.Cpp
How to Convert PPSX to JPEG via C++
C++ developers can convert PPSX files to JPEG with a few lines of code.
- Create a
Presentationinstance from the source PPSX file. - Get the first slide from the presentation.
- Set the output image size with
Size. - Render the slide to an image with
GetImage. - Save the image as a JPEG file with
ImageFormat::Jpeg.
System Requirements
Before running the C++ conversion example, make sure that the following prerequisites are available.
- Microsoft Windows or a compatible OS with a C++ runtime environment for Windows 32-bit, Windows 64-bit, or Linux 64-bit.
- Aspose.Slides for C++ DLL referenced in your project.
PPSX to JPEG 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.jpeg", ImageFormat::Jpeg);
image->Dispose();
presentation->Dispose();
Free App to Convert PPSX to JPEG
Convert presentations and slides online.
Other Supported Conversions
You can also convert PPSX into many other file formats.
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 ODP (OpenDocument Presentation Format)
PPSX TO OTP (OpenDocument Standard Format)
PPSX TO PDF (Portable Document Format)
PPSX TO PNG (Portable Network Graphics)
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)