summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-02-23 12:29:32 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-02-24 13:12:18 +0100
commita24dd0ec500ecdaf808822ab67c59213898c12f1 (patch)
treefbf162c8d2bb33094551b8d8f122cfffcd9c8a8b /include
parenta9043b470ba26fc5ec06e1d44ae8e9480d75724a (diff)
downloadmupdf-a24dd0ec500ecdaf808822ab67c59213898c12f1.tar.xz
Add fz_new_image_from_file.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mupdf/fitz/image.h b/include/mupdf/fitz/image.h
index 699529a2..e88318d8 100644
--- a/include/mupdf/fitz/image.h
+++ b/include/mupdf/fitz/image.h
@@ -56,6 +56,7 @@ fz_image *fz_new_image(fz_context *ctx, int w, int h, int bpc, fz_colorspace *co
fz_image *fz_new_image_from_pixmap(fz_context *ctx, fz_pixmap *pixmap, fz_image *mask);
fz_image *fz_new_image_from_data(fz_context *ctx, unsigned char *data, int len);
fz_image *fz_new_image_from_buffer(fz_context *ctx, fz_buffer *buffer);
+fz_image *fz_new_image_from_file(fz_context *ctx, const char *path);
void fz_drop_image_imp(fz_context *ctx, fz_storable *image);
fz_pixmap *fz_decomp_image_from_stream(fz_context *ctx, fz_stream *stm, fz_image *image, int indexed, int l2factor);
fz_pixmap *fz_expand_indexed_pixmap(fz_context *ctx, fz_pixmap *src);