HTML JPG PDF XML PPT
Product Family
BMP

Convert PPT to BMP in C#

Convert PPT files to BMP images in C# using server-side Aspose.Slides APIs.

Convert PPT to BMP Using C#

Use Aspose.Slides for .NET to load a PPT presentation and render each slide as a BMP image. Install the package from NuGet or run the following command in the Package Manager Console.

Package Manager Console Command

PM> Install-Package Aspose.Slides.NET

This sample code shows PPT to BMP C# conversion

using var presentation = new Presentation("template.ppt");

foreach (var slide in presentation.Slides)
{
    using var image = slide.GetImage(1f, 1f);
    image.Save($"Slide_{slide.SlideNumber}.bmp", ImageFormat.Bmp);
}
 

How to Convert PPT to BMP via C#

.NET developers can load and convert PPT files to BMP in a few lines of code.

  1. Load the PPT file with a Presentation object.

  2. Iterate through each slide in the Presentation.

  3. Render each slide with GetImage.

  4. Call the image Save method with ImageFormat.Bmp.

System Requirements

Before running the .NET conversion sample code, make sure that you have the following prerequisites.

  • A supported operating system with .NET or Mono installed.
  • A development environment such as Microsoft Visual Studio.
  • Aspose.Slides for .NET referenced in your project.

Other Supported Conversions

You can also convert PPT into many other file formats including a few listed below.

PPT TO EMF (Enhanced Metafile Format)
PPT TO GIF (Graphics Interchange Format)
PPT TO HTML (Hypertext Markup Language)
PPT TO JPEG (JPEG Image)
PPT TO ODP (OpenDocument Presentation Format)
PPT TO OTP (OpenDocument Presentation Template)
PPT TO PDF (Portable Document Format)
PPT TO PNG (Portable Network Graphics)
PPT TO POT (PowerPoint Template Files)
PPT TO POTM (PowerPoint Macro-Enabled Template)
PPT TO POTX (PowerPoint Open XML Template)
PPT TO PPS (PowerPoint Slide Show)
PPT TO PPSM (Macro-Enabled Slide Show)
PPT TO PPSX (PowerPoint Open XML Slide Show)
PPT TO PPTM (Macro-Enabled Presentation)
PPT TO PPTX (Open XML Presentation Format)
PPT TO SVG (Scalable Vector Graphics)
PPT TO SWF (SWF Format)
PPT TO TIFF (Tagged Image File Format)
PPT TO VIDEO (Video Format)
PPT TO WORD (Word Processing Document)
PPT TO XPS (XML Paper Specification)