diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-05-03 13:02:10 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-05-03 16:39:02 +0100 |
commit | 09bb1dc2a0cbea13b9ad27f626d2c9e16984ebf9 (patch) | |
tree | 25e7a25b122b1c67805b6982e7f583bd4a34e009 /fitz/fitz-internal.h | |
parent | f499ef89525fd596753f1a4e93e8a8c56953e21a (diff) | |
download | mupdf-09bb1dc2a0cbea13b9ad27f626d2c9e16984ebf9.tar.xz |
Simple Image file format recogniser
Now can open jpeg/png/tiff files within mupdf.
Diffstat (limited to 'fitz/fitz-internal.h')
-rw-r--r-- | fitz/fitz-internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h index bf7d2873..17a919d3 100644 --- a/fitz/fitz-internal.h +++ b/fitz/fitz-internal.h @@ -977,7 +977,8 @@ void fz_free_compressed_buffer(fz_context *ctx, fz_compressed_buffer *buf); fz_image *fz_new_image(fz_context *ctx, int w, int h, int bpc, fz_colorspace *colorspace, int xres, int yres, int interpolate, int imagemask, float *decode, int *colorkey, fz_compressed_buffer *buffer, fz_image *mask); fz_image *fz_new_image_from_pixmap(fz_context *ctx, fz_pixmap *pixmap, fz_image *mask); -fz_image *fz_new_image_from_buffer(fz_context *ctx, unsigned char *buf, int len); +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_pixmap *fz_image_get_pixmap(fz_context *ctx, fz_image *image, int w, int h); void fz_free_image(fz_context *ctx, fz_storable *image); fz_pixmap *fz_decomp_image_from_stream(fz_context *ctx, fz_stream *stm, fz_image *image, int in_line, int indexed, int l2factor, int native_l2factor); |