summaryrefslogtreecommitdiff
path: root/fitz/fitz.h
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-15 14:35:34 +0000
committerTor Andersson <tor@ghostscript.com>2010-07-15 14:35:34 +0000
commit53237faa9e4a81794180a9a5d9c922d0af808d24 (patch)
treea6ae802355aaf211e7d5362ba829ab88fa36cb21 /fitz/fitz.h
parent4520fd49b5cfd3b2796b374a2251f031b21f7008 (diff)
downloadmupdf-53237faa9e4a81794180a9a5d9c922d0af808d24.tar.xz
Add pixmap writing functions for PNM, PAM and PNG (without libpng) formats.
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r--fitz/fitz.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h
index 2d2aa003..e8fb9efe 100644
--- a/fitz/fitz.h
+++ b/fitz/fitz.h
@@ -697,12 +697,15 @@ fz_pixmap * fz_newpixmapwithrect(fz_colorspace *, fz_bbox bbox);
fz_pixmap * fz_newpixmap(fz_colorspace *, int x, int y, int w, int h);
fz_pixmap *fz_keeppixmap(fz_pixmap *map);
void fz_droppixmap(fz_pixmap *map);
-
-void fz_debugpixmap(fz_pixmap *map, char *prefix);
void fz_clearpixmap(fz_pixmap *map, unsigned char value);
+void fz_gammapixmap(fz_pixmap *pix, float gamma);
fz_pixmap * fz_scalepixmap(fz_pixmap *src, int xdenom, int ydenom);
+fz_error fz_writepnm(fz_pixmap *pixmap, char *filename);
+fz_error fz_writepam(fz_pixmap *pixmap, char *filename);
+fz_error fz_writepng(fz_pixmap *pixmap, char *filename, int alpha);
+
/*
* Colorspace resources.
*/