From a24dd0ec500ecdaf808822ab67c59213898c12f1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 23 Feb 2016 12:29:32 +0100 Subject: Add fz_new_image_from_file. --- include/mupdf/fitz/image.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); -- cgit v1.2.3