summaryrefslogtreecommitdiff
path: root/source/fitz/load-tiff.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/load-tiff.c')
-rw-r--r--source/fitz/load-tiff.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/fitz/load-tiff.c b/source/fitz/load-tiff.c
index 4bc8be75..c8449dc9 100644
--- a/source/fitz/load-tiff.c
+++ b/source/fitz/load-tiff.c
@@ -332,7 +332,9 @@ tiff_decode_data(fz_context *ctx, struct tiff *tiff, unsigned char *rp, unsigned
case 3:
case 4:
stm = fz_open_faxd(ctx, stm,
- tiff->compression == 4 ? -1 : 0,
+ tiff->compression == 4 ? -1 :
+ tiff->compression == 2 ? 0 :
+ tiff->g3opts & 1,
0,
tiff->compression == 2,
tiff->imagewidth,