summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2018-04-22 15:09:38 +0800
committerSebastian Rasmussen <sebras@gmail.com>2018-04-27 20:12:16 +0800
commitbc3cb253d79c03e373631eb7bc53da7a12365656 (patch)
treec65c0fec6349c46f992f184033aed480bb1d4fbb /include
parentb94f53bddbfe599be6d946105f4b54b06009b6ad (diff)
downloadmupdf-bc3cb253d79c03e373631eb7bc53da7a12365656.tar.xz
Support multipage pnm images.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mupdf/fitz/image.h b/include/mupdf/fitz/image.h
index 3d6fe431..dcf27362 100644
--- a/include/mupdf/fitz/image.h
+++ b/include/mupdf/fitz/image.h
@@ -286,6 +286,8 @@ void fz_load_pnm_info(fz_context *ctx, const unsigned char *data, size_t size, i
int fz_load_tiff_subimage_count(fz_context *ctx, const unsigned char *buf, size_t len);
fz_pixmap *fz_load_tiff_subimage(fz_context *ctx, const unsigned char *buf, size_t len, int subimage);
+int fz_load_pnm_subimage_count(fz_context *ctx, const unsigned char *buf, size_t len);
+fz_pixmap *fz_load_pnm_subimage(fz_context *ctx, const unsigned char *buf, size_t len, int subimage);
/*
fz_image_resolution: Request the natural resolution