diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-08-17 19:27:02 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-08-17 19:27:02 +0200 |
commit | 822ce1df6773e1934f50d035756ecca0f6d4cae1 (patch) | |
tree | 30950a220566092ac35f1367e49b701afa85b3e2 /fitz/fitz.h | |
parent | 4214d2a553522a9ebb5c263368131aea813ebe03 (diff) | |
download | mupdf-822ce1df6773e1934f50d035756ecca0f6d4cae1.tar.xz |
pdfdraw: Add command line option to gamma correct and invert images.
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r-- | fitz/fitz.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h index 7187094f..dff6b8d4 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -625,6 +625,8 @@ void fz_copy_pixmap_rect(fz_pixmap *dest, fz_pixmap *src, fz_bbox r); void fz_premultiply_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); +void fz_gamma_pixmap(fz_pixmap *pix, float gamma); fz_pixmap *fz_scale_pixmap(fz_pixmap *src, float x, float y, float w, float h); fz_pixmap *fz_scale_pixmap_gridfit(fz_pixmap *src, float x, float y, float w, float h, int gridfit); |