
TIFF is a popular format for storing multiple images as pages. This feature lets you share Word documents in a read‑only format. You can easily convert Word files (DOC or DOCX) to TIFF images programmatically in Java. In this article, you will learn how to convert a Word document to a TIFF image using Java.
The following topics are covered:
- Java API to Convert Word to TIFF
- Convert Word Document to TIFF in Java
- Customize Word to TIFF Conversion in Java
Java API to Convert Word to TIFF
To convert DOC to TIFF or DOCX to TIFF, we use the Aspose.Words for Java API. It enables generation, modification, conversion, rendering, and printing of Word documents without Microsoft Word, across platforms. Download the JAR or add the Maven dependency to your project.
<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://repository.aspose.com/repo/</url>
</repository>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-words</artifactId>
<version>22.4</version>
<type>pom</type>
</dependency>
Convert Word Document to TIFF in Java
Follow these steps to create a multipage TIFF:
- Load the Word file with the Document class.
- Save it as a TIFF using the Save() method, providing the output path and
SaveFormat.
The code below demonstrates how to convert a Word document to a TIFF using Java.

Convert Word Document to TIFF in Java.
Customize Word to TIFF Conversion in Java
You can fine‑tune the conversion by using the ImageSaveOptions class. It lets you set brightness, resolution, page range, compression, and more. Follow these steps:
- Load the document with the Document class.
- Create an
ImageSaveOptionsinstance for TIFF. - Set options such as TiffCompression, resolution, etc.
- Call Save(string, ImageSaveOptions) to generate the TIFF.
The example below shows how to convert a Word document to a TIFF image with additional options.
Get a Free License
Request a free temporary license to use the API without evaluation limits.
Conclusion
In this article, we learned how to convert a Word document to a TIFF image using Java and how to apply options such as TIFF compression, brightness, and resolution programmatically. Explore more about Aspose.Words for Java in the documentation. For questions, visit the forum.