PowerPoint to TIFF conversion could be useful in various scenarios, such as, for printing, fax, etc. In order to perform this conversion programmatically, this article covers how to convert PowerPoint PPTX/PPT to TIFF using C#. Furthermore, you will learn how to customize the size and pixel format of the resultant TIFF images.
- C# PowerPoint PPT to TIFF Converter - Free Download
- Convert PPT to TIFF in C#
- C# Convert PPTX to TIFF with Custom Image Size
- C# PPTX to TIFF with Custom Pixel Format
C# PowerPoint PPT to TIFF Converter - Free Download
In order to convert the PowerPoint presentations, we will use Aspose.Slides for .NET. The API is designed to create, manipulate and convert presentation documents from within the .NET applications. You can either download the API or install it using NuGet.
PM> Install-Package Aspose.Slides.NET
Convert a PPTX to TIFF in C#
The following are the steps to convert a PowerPoint PPTX/PPT to TIFF using C#.
- Load the PowerPoint presentation using Presentation class.
- Convert PPTX to TIFF using Presentation.Save(string, SaveFormat.Tiff) method.
The following code sample shows how to convert a PPTX to TIFF in C#.
C# Convert PPT to TIFF with Custom Image Size
Aspose.Slides for .NET also allows you to customize the size of the resultant image in PowerPoint to TIFF conversion. The following are the steps to achieve this.
- Load the PowerPoint presentation using Presentation class.
- Create an instance of TiffOptions class.
- Set image size using TiffOptions.ImageSize property.
- Convert PPTX to TIFF using Presentation.Save(string, SaveFormat.Tiff) method.
The following code sample shows how to convert PPTX to TIFF with custom image size.
C# PowerPoint to TIFF - Custom Pixel Format
The following are the steps to customize the pixel format in PPT to TIFF conversion in C#.
- Load the PowerPoint presentation using Presentation class.
- Create an instance of TiffOptions class.
- Set pixel format to desired format using TiffOptions.PixelFormat property.
- Convert PPTX to TIFF using Presentation.Save(string, SaveFormat.Tiff) method.
The following code sample shows how to customize pixel format in PPT to TIFF conversion with C#.
PowerPoint to TIFF C# Converter - Get a Free License
You can use Aspose.Slides for .NET without evaluation limitations by getting a free temporary license.
Conclusion
In this article, you have learned how to convert PowerPoint PPT or PPTX to TIFF in C#. Furthermore, you have seen how to customize PPT TIFF conversion and change the size and pixel format of the TIFF images. You can visit the documentation to explore other features of Aspose.Slides for .NET. In addition, you can feel free to let us know about your queries via our forum.
See Also
Tip: You may want to check out Aspose FREE online PowerPoint to Poster Converter.