DOCX
JPG
PDF
XML
PPTM
BMP
Convert PPTM to BMP in C++
Convert PPTM to BMP using Aspose.Slides for C++ without Microsoft PowerPoint.
Convert PPTM to BMP Using C++
Aspose.Slides for C++ is a PowerPoint processing API that lets you convert PPTM presentations to BMP 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 BMP via C++
Render a slide from a PPTM presentation to BMP 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::Bmp.
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 BMP 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.bmp", ImageFormat::Bmp);
image->Dispose();
presentation->Dispose();
Free App to Convert PPTM to BMP
Convert presentations and slides online.
Other Supported Conversions
You can also convert PPTM into many other file formats including few listed below.
PPTM TO EMF (Enhanced Metafile Format)
PPTM TO GIF (Graphical Interchange 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 TIFF (Tagged Image Format)
PPTM TO XML (Extensible Markup Language)
PPTM TO XPS (XML Paper Specifications)