Aspose.word java converting word to tiff -images not clear in tiff file

Hi,

I am using aspose.word kit.In my word document its containing
text and images.Images are color.so in tiff file its is displaying blank and white and that also not clear.So how can solve this problem images in tiff file should clear.so please tell what all properties i need to set to get clear images in tiff file.Bellow code i wrote for tiff conversion.

String file=“TestFile5.doc”;
String dataDir1=“D:”+"\"+“test”+"\";
System.out.println(“dataDir1”+dataDir1);
Document doc = new Document(dataDir1+file);
doc.getPageCount();
System.out.println(“doc.getPageCount();------->”+doc.getPageCount());
//Create an ImageSaveOptions object to pass to the Save method
ImageSaveOptions options = new ImageSaveOptions(SaveFormat.TIFF);
options.setTiffCompression(TiffCompression.CCITT_4);
options.setResolution(400);
doc.save(dataDir1 + “TestFileWithOptionsOut.tiff”, options);

Thanks

svn

Hi Shilpa,


Thanks for your inquiry. I have already answered a similar query of yours here. Please follow this thread for further proceedings.

Best regards,