diff options
author | Robin Watts <robin.watts@artifex.com> | 2014-02-10 16:29:44 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2014-02-10 16:58:29 +0000 |
commit | 9b9438fa4210b29023f85bb98c73f8f58a7760d5 (patch) | |
tree | fe99bd7f35ff42cbdf416c5d576c3d23379f3cc8 /include/mupdf/fitz/image.h | |
parent | addbdd3bc39e3ed07259706e896f275a9f35ae9e (diff) | |
download | mupdf-9b9438fa4210b29023f85bb98c73f8f58a7760d5.tar.xz |
Bug 695022: Add support for multuple image tiff files.
Patch from Thomas Fach-Pedersen. Many Thanks.
Diffstat (limited to 'include/mupdf/fitz/image.h')
-rw-r--r-- | include/mupdf/fitz/image.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mupdf/fitz/image.h b/include/mupdf/fitz/image.h index 7254ace0..42b45508 100644 --- a/include/mupdf/fitz/image.h +++ b/include/mupdf/fitz/image.h @@ -90,4 +90,7 @@ void fz_load_png_info(fz_context *ctx, unsigned char *data, int size, int *w, in void fz_load_tiff_info(fz_context *ctx, unsigned char *data, int size, int *w, int *h, int *xres, int *yres, fz_colorspace **cspace); void fz_load_jxr_info(fz_context *ctx, unsigned char *data, int size, int *w, int *h, int *xres, int *yres, fz_colorspace **cspace); +int fz_load_tiff_subimage_count(fz_context *ctx, unsigned char *buf, int len); +fz_pixmap *fz_load_tiff_subimage(fz_context *ctx, unsigned char *buf, int len, int subimage); + #endif |