How to Convert PowerPoint to Tiff using C#

This topic focuses on how to convert PowerPoint to TIFF using C# along with the detailed configuration steps to configure the environment and verify the working sample code. You can use this application in any of .NET supported environments in Windows, macOS and Linux to convert PPTX to TIFF in C#.

Steps to Convert PowerPoint to TIFF using C#

  1. Configure your application to install Aspose.Slides for .NET using the NuGet package manager
  2. Load the source presentation file using the Presentation class object to convert it to TIFF
  3. Initialize the TiffOptions class object to set the desired image options
  4. Set the DPI and size for the desired TIFF image
  5. Convert the presentation to a TIFF image using the Save method

The aforementioned steps convert the presentation to TIFF in C# by using a few API calls only where the process is initiated by loading the source presentation file using the Presentation class. Then by using the TiffOptions class instance, the output TIFF image options including DPI and image size are set before saving the presentation as a TIFF image on the disk using the Save method.

Code to Convert PPTX to TIFF in C#

The above example can also be used for converting PPT to TIFF in C# using the same code base. The TiffOptions class can further customize the output TIFF by exposing the options like setting CompressionType, PixelFormat, ShowHiddenSlides and NotesCommentsLayouting. The above application can seamlessly convert PPTX to TIFF without installing MS PowerPoint or any other third-party tool.

In this tutorial, we learnt to generate TIFF from PowerPoint in C# by performing simple steps and using a simple API interface. If you are interested in creating the presentation slide images, refer to the article on how to create PowerPoint slide image using C#.

 English