From e27a07e0c70f18562b6be317a580e038732d290f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= Date: Fri, 24 May 2019 10:39:17 +0200 Subject: [PATCH] fix missing tiff format --- src/api/baseapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/baseapi.cpp b/src/api/baseapi.cpp index f22c0f82..4813f952 100644 --- a/src/api/baseapi.cpp +++ b/src/api/baseapi.cpp @@ -1148,7 +1148,7 @@ bool TessBaseAPI::ProcessPagesInternal(const char* filename, bool tiff = (format == IFF_TIFF || format == IFF_TIFF_PACKBITS || format == IFF_TIFF_RLE || format == IFF_TIFF_G3 || format == IFF_TIFF_G4 || format == IFF_TIFF_LZW || - format == IFF_TIFF_ZIP); + format == IFF_TIFF_ZIP || format == IFF_TIFF_JPEG); // Fail early if we can, before producing any output Pix *pix = nullptr;