From 8baa9e7d6ec43792bc1545b840d28254e5f6caac Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Wed, 3 May 2017 00:03:22 +0800 Subject: tiff: Fix bug where both tiff and fax decoders inverted the image. --- source/fitz/load-tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/load-tiff.c') diff --git a/source/fitz/load-tiff.c b/source/fitz/load-tiff.c index 9afcb012..26fc9b22 100644 --- a/source/fitz/load-tiff.c +++ b/source/fitz/load-tiff.c @@ -340,7 +340,7 @@ tiff_decode_data(fz_context *ctx, struct tiff *tiff, unsigned char *rp, unsigned tiff->imagewidth, tiff->imagelength, 0, - tiff->photometric == 0); + 1); break; case 5: old_tiff = rp[0] == 0 && (rp[1] & 1); -- cgit v1.2.3