hi friends,
i use aspose pdf java 9.0. when i try to convert tif file to pdf i get an error like this;
Exception in thread "main" java.lang.IllegalStateException: Unable to read values for Xresolution tag. Message : Cannot read 8 bytes from the stream.
at com.aspose.ms.c.g.at.c(Unknown Source)
at com.aspose.ms.c.g.ce.e(Unknown Source)
at com.aspose.ms.c.g.ce.d(Unknown Source)
at com.aspo...
...a(Unknown Source)
at aspose.pdf.Pdf.save(Unknown Source)
at com.aspose.Test.SplitTiff2Pdf.tif2Pdf(SplitTiff2Pdf.java:76)
at com.aspose.Test.SplitTiff2Pdf.main(SplitTiff2Pdf.java:87)
error occuer in pdf1.save() line. i use win7 x64 and jdk 1.7, editor is Spring Tool Suite, how can i resolve this cause could you help me please, my java class and tif file in attachment
thanks for all supports,
Best regards.