summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/colorspace.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-10-17 19:14:42 +0100
committerRobin Watts <robin.watts@artifex.com>2017-10-25 10:58:35 +0100
commita0fe91ff1467c797451b82bffbe42dc0d4e48284 (patch)
treec910497652254b424bdcbbd6a8f6bad33a21be3d /include/mupdf/fitz/colorspace.h
parent8df4061c6c81304a956a277ff521931d24bde489 (diff)
downloadmupdf-a0fe91ff1467c797451b82bffbe42dc0d4e48284.tar.xz
Add fz_new_icc_colorspace_from_stream.
Diffstat (limited to 'include/mupdf/fitz/colorspace.h')
-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 ec599493..32a8f846 100644
--- a/include/mupdf/fitz/colorspace.h
+++ b/include/mupdf/fitz/colorspace.h
@@ -198,6 +198,7 @@ struct fz_cal_colorspace_s {
*/
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_icc_colorspace_from_stream(fz_context *ctx, const char *name, fz_stream *in);
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);