Convert PPT to JPEG in C#

Native and high performance PPT to JPEG conversion using server side Aspose.Slides for .NET APIs, without the use of any software like Microsoft or Open Office, Adobe PDF.

 Download Free Trial
Aspose.Slides for .NET

Aspose.Slidesfor .NET

About Aspose.Slides for .NET API

Aspose.Slides API can be used to read, write, manipulate and convert Microsoft PowerPoint documents to PDF, XPS, HTML, TIFF, ODP and various other formats. One can create new files from scratch and save those in the relevant supported formats. Aspose.Slides is a standalone API for creating, parsing or manipulating presentations, slides and elements and it does not depend on any software like Microsoft or Open Office.

Steps for converting PPT to JPEG in C#

A basic conversion with Aspose.Slides for .NET APIs can be done with just few lines of code. Our APIs are supported on all major platforms and Operating Systems. Before executing the code below, please make sure that you have the following prerequisites on your system.

  • Microsoft Windows or a compatible OS with .NET Framework, .NET Core, Windows Azure, Mono or Xamarin Platforms
  • Development environment like Microsoft Visual Studio
  • Aspose.Slides for .NET DLL referenced in your project - Install from NuGet using the Download button above

Aspose.Slides makes it easy for the developers to convert the PPT file to JPEG in few lines of code.

  • Load the PPT file with Aspose.Slides for .NET.
  • Call the Save() method and pass the file name (full path) and format (JPEG) as parameter.
  • The JPEG file will be saved at the specified folder (path).
  • Now you can open and use the JPEG file in Microsoft Office, Adobe PDF or any other compatible program.

Save PPT as JPEG - C#

// load the PPT file to be converted
var document = new Aspose.Slides.Presentation("My File.ppt");
// save PPT as a JPEG
document.Save("Saved File.jpeg", Aspose.Slides.SaveFormat.Jpeg);  

PPT to JPEG Live Demos

Convert PPT to JPEG right now by visiting our Live Demos website. The live demo has the following benefits

  • No need to download Aspose API
  • No need to write any code
  • Just upload your PPT file, it will be converted instantly to JPEG and you will get the download link.


About PPT File Format

A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow. It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. A PPT file can contain several different types of information such as text, bulleted points, images, multimedia and other embedded OLE objects. Microsoft came up with newer file format for PowerPoint, known as PPTX, from 2007 onwards that is based on Office OpenXML and is different from this binary file format. Several other application programs such as OpenOffice Impress and Apple Keynote can also create PPT files.

Read More


About JPEG File Format

A JPEG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Users can adjust the compression level to achieve the desired quality level while at the same time reduce the storage size. Image quality is negligibly affected if 10:1 compression is applied to the image. The higher the compression value, the higher the degradation in image quality. JPEG image file format was standardized by the Joint Photographic Experts Group and, hence, the name JPEG. The format has been the choice of storing and transmitting photographic images on the web. Almost all Operating systems now have viewers that support visualization of JPEG images, which are often stored with JPG extension as well. Even the web browsers support visualization of JPEG images.

Read More