diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-09-24 13:10:06 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-09-26 18:47:26 +0800 |
commit | b776317b390865a534883f1534d7bdef8ad0a2c2 (patch) | |
tree | 26670c19c76e56677c543a0f0d5cb3bea4a6a36e | |
parent | 0ec9f9221b8801bfc62b5cb13f21a5628f681fa9 (diff) | |
download | mupdf-b776317b390865a534883f1534d7bdef8ad0a2c2.tar.xz |
tiff: Support images using Lab colorspace.
-rw-r--r-- | source/fitz/load-tiff.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |