mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 14:41:36 +08:00
fix tiff identification
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@934 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
577e919215
commit
11f7eea7e1
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user