summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-10-16 15:31:37 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-10-25 22:11:54 +0200
commitf036f9efde139a8127b04ac32caeb9836c0ecabb (patch)
treefba4e5ee2bd9c06e09d10e78a71fa00fd868d8c3 /include
parent440087b3268787f2db313cee247d1166f2ee1802 (diff)
downloadmupdf-f036f9efde139a8127b04ac32caeb9836c0ecabb.tar.xz
Add and use fz_convert_pixmap_samples helper function.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/pixmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mupdf/fitz/pixmap.h b/include/mupdf/fitz/pixmap.h
index 82659d5c..57e08c6a 100644
--- a/include/mupdf/fitz/pixmap.h
+++ b/include/mupdf/fitz/pixmap.h
@@ -394,6 +394,7 @@ void fz_unpack_tile(fz_context *ctx, fz_pixmap *dst, unsigned char *src, int n,
*/
typedef void (fz_pixmap_converter)(fz_context *ctx, fz_pixmap *dp, fz_pixmap *sp, fz_colorspace *prf, const fz_default_colorspaces *default_cs, const fz_color_params *color_params, int copy_spots);
fz_pixmap_converter *fz_lookup_pixmap_converter(fz_context *ctx, fz_colorspace *ds, fz_colorspace *ss);
+void fz_convert_pixmap_samples(fz_context *ctx, fz_pixmap *dst, fz_pixmap *src, fz_colorspace *prf, const fz_default_colorspaces *default_cs, const fz_color_params *color_params, int copy_spots);
/*
fz_md5_pixmap: Return the md5 digest for a pixmap