Generated TIFF with Aspose Words cannot be read by Aspose Imaging

I created a TIFF file with Aspose Words from a word document using


doc.save(“DIRKSTEST.tiff”, SaveFormat.TIFF);


When I try to read the image from disk with Aspose Imaging

TiffImage tmp = (TiffImage) TiffImage.load("/DIRKSTEST.tiff");

I get

Exception in thread “main” com.aspose.imaging.exceptions.ImageLoadException: Image loading failed.
at com.aspose.imaging.Image.a(Unknown Source)
at com.aspose.imaging.Image.load(Unknown Source)
at com.bauermedia.bskh.asposeevaluation.Converter.concateImages(Converter.java:67)
at com.bauermedia.bskh.asposeevaluation.Converter.convert(Converter.java:52)
at com.bauermedia.bskh.asposeevaluation.Converter.main(Converter.java:30)
Caused by: class com.aspose.imaging.internal.Exceptions.SystemException: com.aspose.imaging.exceptions.ImageLoadException: Unable to read file. Exception:Error loading file: Unsupported file format
Parameter name: input —> com.aspose.imaging.exceptions.ImageLoadException: Unable to read file. Exception:Error loading file: Unsupported file format
Parameter name: input
— End of inner exception stack trace —
com.aspose.imaging.Image.a(Unknown Source)
com.aspose.imaging.Image.load(Unknown Source)
com.bauermedia.bskh.asposeevaluation.Converter.concateImages(Converter.java:67)
com.bauermedia.bskh.asposeevaluation.Converter.convert(Converter.java:52)
com.bauermedia.bskh.asposeevaluation.Converter.main(Converter.java:30)
… 5 more
Caused by: com.aspose.imaging.exceptions.ImageLoadException: Unable to read file. Exception:Error loading file: Unsupported file format
Parameter name: input
at com.aspose.imaging.internal.ci.p.c(Unknown Source)
at com.aspose.imaging.internal.ci.p.load(Unknown Source)
… 5 more

Generated TIFF by Aspose cannot be read by Aspose?! What could be the reason?

Hi Dirk,


Thank you for contacting Aspose support.

We are able to replicate the said exception while using the latest version of Aspose.Imaging for Java 2.1.0 & Aspose.Words for Java 14.5.0. We have noticed that the Aspose.Words generated Tiff image cannot be loaded with Aspose.Imaging API. For further investigation and correction purposes, we have logged this problem in our bug tracking system under ticket IMAGING-34191.

Please spare us little time to properly analyze the problem cause on our end. In the meanwhile, we will keep you posted with updates in this regard.

We are sorry for your inconvenience.

The issues you have found earlier (filed as IMAGING-34191) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.