Dear Ikram ul Haq,
// Create an instance of TiffOptions with CCITTFAX3 compression
TiffOptions outputSettings = new TiffOptions(TiffExpectedFormat.TiffCcittFax3);
com.aspose.imaging.ResolutionSetting resolution = new com.aspose.imaging.ResolutionSetting(200, 200);
// Declare Height and Width for the new TiffImage
final int newWidth = 500;
final int newHeight = 500;
// Create an instance of TiffImage using the object of TiffOptions and
TiffImage tiffImage = (TiffImage) Image.create(outputSettings, newWidth, newHeight);
// Save the changes to TiffImage
It will be greatly appreciated that if you can demonstrate it with some sample code.
- Aspose.Words for Java can be used to render DOC/DOCX files to TIFF format. For more information, please visit How to Save Document as a Multipage TIFF
- Aspose.Slides for Java offers the capabilities to render PPT / PPTX files to TIFF format. For further details, please visit Converting Presentation to TIFF
- Aspose.Cells for Java offers the feature to convert XLS/XLSX files to TIFF format. For further details, please visit Converting Worksheet to Image
- We have another API named Aspose.Pdf for Java which provides the capabilities to render PDF pages to TIFF image. For more information, please visit Convert PDF Pages to TIFF Image.