DOCX JPG PDF XML PPSM
  Product Family
GIF

Convert PPSM to GIF in C++

Convert PPSM to GIF using Aspose.Slides for C++ without Microsoft PowerPoint.

Convert PPSM to GIF Using C++

Aspose.Slides for C++ is a C++ library for creating, reading, editing, and converting presentation files. It allows developers to convert PPSM files to GIF 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 PPSM to GIF via C++

C++ developers can convert PPSM files to GIF with a few lines of code.

  1. Create a Presentation instance from the source PPSM file.
  2. Get the first slide from the presentation.
  3. Set the output image size with Size.
  4. Render the slide to an image with GetImage.
  5. Save the image as a GIF file with ImageFormat::Gif.

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.
 

PPSM to GIF C++ Conversion Source Code

auto presentation = MakeObject<Presentation>(u"presentation.ppsm");
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 PPSM to GIF

    Convert presentations and slides online.

    Other Supported Conversions

    You can also convert PPSM into many other file formats.

    PPSM TO BMP (Bitmap Image)
    PPSM TO EMF (Enhanced Metafile Format)
    PPSM TO HTML (Hyper Text Markup Language)
    PPSM TO JPEG (JPEG Image)
    PPSM TO ODP (OpenDocument Presentation Format)
    PPSM TO OTP (OpenDocument Standard Format)
    PPSM TO PDF (Portable Document Format)
    PPSM TO PNG (Portable Network Graphics)
    PPSM TO POT (Microsoft PowerPoint Template Files)
    PPSM TO POTM (Microsoft PowerPoint Template File)
    PPSM TO POTX (Microsoft PowerPoint Template Presentation)
    PPSM TO PPS (PowerPoint Slide Show)
    PPSM TO PPSX (PowerPoint Slide Show)
    PPSM TO PPT (Microsoft PowerPoint 97-2003)
    PPSM TO PPTM (Macro-enabled Presentation File)
    PPSM TO PPTX (Open XML presentation Format)
    PPSM TO SVG (Scalable Vector Graphics)
    PPSM TO SWF (Small Web Format)
    PPSM TO TIFF (Tagged Image Format)
    PPSM TO XML (Extensible Markup Language)
    PPSM TO XPS (XML Paper Specifications)