summaryrefslogtreecommitdiff
path: root/source/fitz/colorspace.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-08-02 18:17:41 +0100
committerRobin Watts <robin.watts@artifex.com>2017-10-24 15:16:35 +0100
commitcbdb9dc747ff7e7c9e187e056c4077edae629729 (patch)
tree800d473527ee866b91fe9fcdce8ee6930f1c058b /source/fitz/colorspace.c
parent3e6e2464b32ca6d9fdc9cfc8c80c33aace8ec5e0 (diff)
downloadmupdf-cbdb9dc747ff7e7c9e187e056c4077edae629729.tar.xz
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.
Diffstat (limited to 'source/fitz/colorspace.c')
-rw-r--r--source/fitz/colorspace.c2
1 files changed, 1 insertions, 1 deletions
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;
}