We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Words problem converting

Hi, i have a Problem when converting tif - 2 - pdf.i attached the tif file to this post i am using asposee.words.jdk16

Log File Says:

2013-08-14 10:35:38,123 | INFO | WebContainer : 0 | converter.aspose.AsposeConverter | convert called, input '/var/jep/pdfservice/e5ca51d4-7922-4c00-a408-0ee550395fc8/input.tif' type 'tif', output '/var/jep/pdfservice/e5ca51d4-7922-4c00-a408-0ee550395fc8/output.pdf' type 'pdf'2013-08-14 10:35:38,139 | FATAL | WebContainer : 0 | converter.aspose.AsposeWords | java.lang.IllegalStateException: Unable to read tiff stream at com.aspose.ms.imagecodecs.tiff.spi.TiffImageReader.init(Unknown Source) at com.aspose.ms.imagecodecs.tiff.spi.TiffImageReader.getNumImages(Unknown Source) at ch.raiffeisen.pdf.converter.aspose.AsposeWords.convertImageToPdf(AsposeWords.java:245) at ch.raiffeisen.pdf.converter.aspose.AsposeWords.convert(AsposeWords.java:86) at ch.raiffeisen.pdf.converter.aspose.AsposeConverter.convert(AsposeConverter.java:184)

My Environment:
java version “1.6.0”
Java™ SE Runtime Environment (build
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX
ppc64-64 jvmap6460sr12-20121024_126067 (JIT enabled, AOT enabled)
J9VM - 20121024_126067
JIT - r9_20120914_26057
GC - 20120928_AA)
JCL - 20121014_01

Operating-System: AIX

OS-Version: 7100-02-02-1316

Hi Dierk,

Thanks for your inquiry. You can not directly load an Image file into Aspose.Words DOM (Document Object Model). However, you can easily convert an Image to PDF format by using the code suggested in the following article:

I hope, this will help.