summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2017-10-13 08:56:35 -0700
committerRobin Watts <robin.watts@artifex.com>2017-10-24 15:16:38 +0100
commitaafab8f3a54cc61998ddb355c5226dd5d471a5cd (patch)
tree65cad1a1acec4b64de1be427fcaaa61c5efc5109 /include
parente93d7226f386297fc3f7bd5c9044a6177792a345 (diff)
downloadmupdf-aafab8f3a54cc61998ddb355c5226dd5d471a5cd.tar.xz
Add interface for setting icc space to bgr format
This is needed so that we can have bgr formatting with something other than the default sRGB
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/colorspace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mupdf/fitz/colorspace.h b/include/mupdf/fitz/colorspace.h
index 2374feec..ec599493 100644
--- a/include/mupdf/fitz/colorspace.h
+++ b/include/mupdf/fitz/colorspace.h
@@ -152,6 +152,7 @@ int fz_colorspace_is_lab(fz_context *ctx, const fz_colorspace *cs);
int fz_colorspace_is_lab_icc(fz_context *ctx, const fz_colorspace *cs);
int fz_colorspace_is_cal(fz_context *ctx, const fz_colorspace *cs);
int fz_colorspace_is_indexed(fz_context *ctx, const fz_colorspace *cs);
+void fz_set_icc_bgr(fz_context *ctx, fz_colorspace *cs);
int fz_colorspace_n(fz_context *ctx, const fz_colorspace *cs);
int fz_colorspace_devicen_n(fz_context *ctx, const fz_colorspace *cs);
const char *fz_colorspace_name(fz_context *ctx, const fz_colorspace *cs);