From cbdb9dc747ff7e7c9e187e056c4077edae629729 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 2 Aug 2017 18:17:41 +0100 Subject: Don't apply default decode array to ICC Lab image data. Adjust the decode array to allow for the fact that the default decode is done by the ICC code. --- source/fitz/colorspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/colorspace.c') diff --git a/source/fitz/colorspace.c b/source/fitz/colorspace.c index ceec805e..9d5c93ab 100644 --- a/source/fitz/colorspace.c +++ b/source/fitz/colorspace.c @@ -679,7 +679,7 @@ clamp_lab(const fz_colorspace *cs, const float *src, float *dst) dst[i] = fz_clamp(src[i], i ? -128 : 0, i ? 127 : 100); } -static int fz_colorspace_is_lab(fz_context *ctx, const fz_colorspace *cs) +int fz_colorspace_is_lab(fz_context *ctx, const fz_colorspace *cs) { return cs && cs->to_ccs == lab_to_rgb; } -- cgit v1.2.3