diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-12-07 22:28:31 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-08 11:42:57 +0000 |
commit | 164ae7a63b56da5a1a2cf63701583753aa433762 (patch) | |
tree | 18e376f41142798c49a3849729a84e6a587dc9e2 /fitz/fitz.h | |
parent | 7a6b60d0ec1abac316917690878011c3228a6fb7 (diff) | |
download | mupdf-164ae7a63b56da5a1a2cf63701583753aa433762.tar.xz |
Undo pre-multiplied alpha when saving PNG with alpha channels.
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r-- | fitz/fitz.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h index ccaa98b8..d0054f3e 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -626,6 +626,7 @@ void fz_clear_pixmap_with_color(fz_pixmap *pix, int value); void fz_clear_pixmap_rect_with_color(fz_pixmap *pix, int value, fz_bbox r); void fz_copy_pixmap_rect(fz_pixmap *dest, fz_pixmap *src, fz_bbox r); void fz_premultiply_pixmap(fz_pixmap *pix); +void fz_unmultiply_pixmap(fz_pixmap *pix); fz_pixmap *fz_alpha_from_gray(fz_pixmap *gray, int luminosity); fz_bbox fz_bound_pixmap(fz_pixmap *pix); void fz_invert_pixmap(fz_pixmap *pix); |