fix tiff identification

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@934 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
zdenop 2014-01-06 13:25:42 +00:00
parent 577e919215
commit 11f7eea7e1

View File

@ -964,7 +964,8 @@ PERF_COUNT_START("ProcessPages")
format = pixGetInputFormat(pix);
if (format == IFF_TIFF || format == IFF_TIFF_PACKBITS ||
format == IFF_TIFF_RLE || format == IFF_TIFF_G3 ||
format == IFF_TIFF_G4 || format == IFF_TIFF_LZW || IFF_TIFF_ZIP)
format == IFF_TIFF_G4 || format == IFF_TIFF_LZW ||
format == IFF_TIFF_ZIP)
tiffGetCount(fp, &npages);
fclose(fp);