summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-07-13 10:56:37 +0100
committerRobin Watts <robin.watts@artifex.com>2017-07-17 19:32:06 +0100
commitd4d4dcf1d64d4b0d3a510ed218f17e815b68c012 (patch)
tree0ba55c1ab9994a24bbff0598e0605cbbeadc2404 /include
parenta3d05504307e05e9bcf71aff7e5e86f0090bbba2 (diff)
downloadmupdf-d4d4dcf1d64d4b0d3a510ed218f17e815b68c012.tar.xz
Rid the world of fz_ensure_pixmap_is_additive.
No longer required since we flipped subtractive spaces.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/pixmap.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/mupdf/fitz/pixmap.h b/include/mupdf/fitz/pixmap.h
index 5b784c09..ffbc27a7 100644
--- a/include/mupdf/fitz/pixmap.h
+++ b/include/mupdf/fitz/pixmap.h
@@ -263,13 +263,6 @@ void fz_gamma_pixmap(fz_context *ctx, fz_pixmap *pix, float gamma);
void fz_unmultiply_pixmap(fz_context *ctx, fz_pixmap *pix);
/*
- fz_ensure_pixmap_is_additive: Convert a pixmap in a subtractive colorspace to an additive colorspace.
-
- Pixmaps with premultiplied alpha must be in an additive colorspace.
-*/
-fz_pixmap *fz_ensure_pixmap_is_additive(fz_context *ctx, fz_pixmap *pix);
-
-/*
fz_convert_pixmap: Convert an existing pixmap to a desired
colorspace. Other properties of the pixmap, such as resolution
and position are copied to the converted pixmap.