HTML JPG PDF XML POTX
Aspose.Slides  for .NET
JPEG

Convert POTX to JPEG in C#

Convert POTX files to JPEG images in C# using server-side Aspose.Slides APIs.

Convert POTX to JPEG Using C#

Use Aspose.Slides for .NET to load a POTX presentation and render each slide as a JPEG image. Install the package from NuGet or use the following Package Manager Console command.

Package Manager Console Command

PM> Install-Package Aspose.Slides.NET

How to Convert POTX to JPEG via C#

.NET developers can convert POTX files to JPEG in a few lines of code.

  1. Load the POTX 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.Jpeg.

System Requirements

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

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

This sample code shows POTX to JPEG C# Conversion

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

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

Free App to Convert POTX to JPEG

Try our free app to convert POTX to JPEG

Other Supported Conversions

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

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