summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-10-16 14:11:26 +0200
committerRobin Watts <robin.watts@artifex.com>2017-10-24 15:16:36 +0100
commita336a599666e34a438852d22d068a2267465376e (patch)
tree39ef9cfeb1da62d28dddb3ed150a8b1daa69422d /include
parentf2e0ab5afee63d9f446f37201291010e68282cc4 (diff)
downloadmupdf-a336a599666e34a438852d22d068a2267465376e.tar.xz
Make a public fz_new_icc_colorspace_from_file function.
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 7bd87adf..2374feec 100644
--- a/include/mupdf/fitz/colorspace.h
+++ b/include/mupdf/fitz/colorspace.h
@@ -196,6 +196,7 @@ struct fz_cal_colorspace_s {
icc methods
*/
fz_colorspace *fz_new_icc_colorspace(fz_context *ctx, const char *name, int num, fz_buffer *buf);
+fz_colorspace *fz_new_icc_colorspace_from_file(fz_context *ctx, const char *name, const char *path);
fz_colorspace *fz_new_cal_colorspace(fz_context *ctx, const char *name, float *wp, float *bp, float *gamma, float *matrix);
fz_buffer *fz_new_icc_data_from_cal_colorspace(fz_context *ctx, fz_cal_colorspace *cal);
fz_buffer *fz_icc_data_from_icc_colorspace(fz_context *ctx, const fz_colorspace *cs);