In various scenarios, such as printing, fax, etc., PowerPoint to TIFF conversion is used. To automate this conversion from within a web or desktop application, this article covers how to convert PowerPoint PPT to TIFF in Java. Furthermore, it also shows how to customize the size and pixel format of the resultant TIFF images.
- Java PowerPoint PPT to TIFF Converter - Free Download
- Convert PowerPoint PPT to TIFF
- Java PPT to TIFF with Custom Image Size
- Java PPTX to TIFF with Custom Pixel Format
- Get Free PPT to TIFF Converter
- Online PowerPoint to TIFF Converter
Convert PowerPoint PPT to TIFF in Java - API Installation
To convert PPT presentations to TIFF images, we will use Aspose.Slides for Java. The said API lets you create, manipulate and convert presentation documents from within the Java applications. You can either download the API or install it using the following Maven configurations.
<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>http://repository.aspose.com/repo/</url>
</repository>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-slides</artifactId>
<version>23.5</version>
<classifier>jdk16</classifier>
</dependency>
Convert PPT to TIFF in Java
The following are the steps to convert a PowerPoint PPTX/PPT to TIFF using Java.
- First, load the PowerPoint presentation using Presentation class.
- Then, convert PPTX to TIFF using Presentation.save(String, SaveFormat.Tiff) method.
The following code sample shows how to convert a PowerPoint PPT to TIFF in Java.
Java PPT to TIFF with Custom Image Size
Aspose.Slides for Java also allows you to customize the size of the resultant image in PowerPoint to TIFF conversion. The following are the steps to achieve this.
- First, load the PowerPoint presentation using Presentation class.
- Create an instance of TiffOptions class.
- Set image size using TiffOptions.setImageSize() method.
- Finally, convert PPTX to TIFF using Presentation.save(String, SaveFormat.Tiff) method.
The following code sample shows how to convert PPT to TIFF with custom image size.
Java PowerPoint to TIFF with Pixel Format Settings
The following are the steps to customize the pixel format in PowerPoint to TIFF conversion in Java.
- First, load the PowerPoint presentation using Presentation class.
- Create an instance of TiffOptions class.
- Set pixel format to desired format using TiffOptions.setPixelFormat() method.
- Finally, convert PPTX to TIFF using Presentation.save(String, SaveFormat.Tiff) method.
The following code sample shows how to customize pixel format in PPTX to TIFF conversion.
Get Free PowerPoint to TIFF Converter
You can use Aspose.Slides for Java and convert PowerPoint presentations to TIFF without evaluation limitations by getting a free temporary license.
Online PowerPoint to TIFF Converter
Use our free online PPT to TIFF converter to convert your presentation slides to TIFF images. This is a web-based tool that can be accessed from any device having a browser and an internet connection. Also, it does not ask you to create an account.
Conclusion
In this article, you have seen how to convert PowerPoint PPT to TIFF in Java. Furthermore, the step-by-step guide and code samples have shown how to customize the size and pixel format of the resultant TIFF images.
You can visit the documentation to explore other features of Aspose.Slides for Java. In addition, you can feel free to let us know about your queries via our forum.