agl / jbig2enc

JBIG2 Encoder
Other
251 stars 86 forks source link

Cannot read Tiff directory error #48

Closed vishwas1384 closed 9 years ago

vishwas1384 commented 9 years ago

I am trying to encode .tif files to .jbig2 in Windows using the jbig2.exe file downloaded from this link: "http://soft.rubypdf.com/downloads/agl-jbig2enc-0.27-14-gc709efe-leptonlib-1.66-win32-bin.zip" and I get the following error.

jbig2 -s *.tif > out.jbig2 TIFFFetchDirectory: TIFFstream: Can not read TIFF directory TIFFReadDirectory: TIFFstream: Failed to read directory at offset 0. Error in findTiffCompression: tif not opened.

Can I know why I am getting this error, is there a solution to this problem and how to solve it?

Thanks.