DOCX
JPG
PDF
XML
PPTM
GIF
Convert PPTM to GIF in C++
Convert PPTM to GIF using Aspose.Slides for C++ without Microsoft PowerPoint.
Convert PPTM to GIF Using C++
Aspose.Slides for C++ is a PowerPoint processing API that lets you convert PPTM presentations to GIF 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 PPTM to GIF via C++
Render a slide from a PPTM presentation to GIF with a few lines of C++ code.
- Create a
Presentationinstance from the source PPTM 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::Gif.
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.
PPTM to GIF C++ Conversion Source Code
auto presentation = MakeObject<Presentation>(u"presentation.pptm");
auto slide = presentation->get_Slide(0);
auto desiredSize = Size(1200, 800);
auto image = slide->GetImage(desiredSize);
image->Save(u"slide.gif", ImageFormat::Gif);
image->Dispose();
presentation->Dispose();
Free App to Convert PPTM to GIF
Convert presentations and slides online.
Other Supported Conversions
You can also convert PPTM into many other file formats including few listed below.
PPTM TO BMP (Bitmap Image)
PPTM TO EMF (Enhanced Metafile Format)
PPTM TO HTML (Hyper Text Markup Language)
PPTM TO JPEG (JPEG Image)
PPTM TO ODP (OpenDocument Presentation Format)
PPTM TO OTP (OpenDocument Standard Format)
PPTM TO PDF (Portable Document Format)
PPTM TO PNG (Portable Network Graphics)
PPTM TO POT (Microsoft PowerPoint Template Files)
PPTM TO POTM (Microsoft PowerPoint Template File)
PPTM TO POTX (Microsoft PowerPoint Template Presentation)
PPTM TO PPS (PowerPoint Slide Show)
PPTM TO PPSM (Macro-enabled Slide Show)
PPTM TO PPSX (PowerPoint Slide Show)
PPTM TO PPT (Microsoft PowerPoint 97-2003)
PPTM TO PPTX (Open XML presentation Format)
PPTM TO SVG (Scalable Vector Graphics)
PPTM TO SWF (Small Web Format)
PPTM TO TIFF (Tagged Image Format)
PPTM TO XML (Extensible Markup Language)
PPTM TO XPS (XML Paper Specifications)