diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-11-13 13:27:30 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-11-13 21:27:06 +0100 |
commit | b35df4b2ae4a80c8f770335b813e5cd3203c175b (patch) | |
tree | 9ed6b381d3aa039cfb94613b9b7162cb49602520 /include/mupdf/pdf | |
parent | 9a8a3fe5e1d3e319559fd0bde2bc40bc47ee01bd (diff) | |
download | mupdf-b35df4b2ae4a80c8f770335b813e5cd3203c175b.tar.xz |
Use fz_image.imagemask field when adding PDF image resources.
Don't pass the information as a separate argument.
Diffstat (limited to 'include/mupdf/pdf')
-rw-r--r-- | include/mupdf/pdf/resource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/pdf/resource.h b/include/mupdf/pdf/resource.h index d8968996..85a37641 100644 --- a/include/mupdf/pdf/resource.h +++ b/include/mupdf/pdf/resource.h @@ -49,7 +49,7 @@ int pdf_is_jpx_image(fz_context *ctx, pdf_obj *dict); fz_image *pdf_load_image(fz_context *ctx, pdf_document *doc, pdf_obj *obj); -pdf_obj *pdf_add_image(fz_context *ctx, pdf_document *doc, fz_image *image, int mask); +pdf_obj *pdf_add_image(fz_context *ctx, pdf_document *doc, fz_image *image); /* * Pattern |