From f036f9efde139a8127b04ac32caeb9836c0ecabb Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 16 Oct 2018 15:31:37 +0200 Subject: Add and use fz_convert_pixmap_samples helper function. --- include/mupdf/fitz/pixmap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 -- cgit v1.2.3