Convert PPS to JPEG in C++
Convert PPS to JPEG using Aspose.Slides for C++ without Microsoft PowerPoint.
Convert PPS to JPEG Using C++
To convert PPS to JPEG, use Aspose.Slides for C++ , a presentation processing API for C++ applications. You can download the latest version directly from NuGet , search for Aspose.Slides.Cpp, and install it. You may also use the following command from the Package Manager Console.
Command
PM> Install-Package Aspose.Slides.CppPPS to JPEG C++ Conversion Source Code
auto presentation = MakeObject<Presentation>(u"presentation.pps");
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();How to Convert PPS to JPEG via C++
C++ developers can convert a PPS file to JPEG in just a few lines of code.
- Create a
Presentationinstance from the source PPS 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 code, make sure that you have the following prerequisites.
- Microsoft Windows, Linux, macOS, or another compatible OS with the supported C++ runtime.
- Aspose.Slides for C++ library referenced in your project.
Free App to Convert PPS to JPEG
Convert presentations and slides online.
Other Supported Conversions
You can also convert PPS into other file formats, including: