From b776317b390865a534883f1534d7bdef8ad0a2c2 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sat, 24 Sep 2016 13:10:06 +0800 Subject: tiff: Support images using Lab colorspace. --- source/fitz/load-tiff.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/fitz/load-tiff.c b/source/fitz/load-tiff.c index ace925d8..3d2b273a 100644 --- a/source/fitz/load-tiff.c +++ b/source/fitz/load-tiff.c @@ -414,6 +414,9 @@ fz_decode_tiff_strips(fz_context *ctx, struct tiff *tiff) /* it's probably a jpeg ... we let jpeg convert to rgb */ tiff->colorspace = fz_device_rgb(ctx); break; + case 8: /* 1976 CIE L*a*b* */ + tiff->colorspace = fz_device_lab(ctx); + break; case 32844: /* SGI CIE Log 2 L (16bpp Greyscale) */ tiff->colorspace = fz_device_gray(ctx); tiff->bitspersample = 8; -- cgit v1.2.3