summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/image.h3
-rw-r--r--include/mupdf/pdf/resource.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/include/mupdf/fitz/image.h b/include/mupdf/fitz/image.h
index 8c5e7d62..6dfd6c9b 100644
--- a/include/mupdf/fitz/image.h
+++ b/include/mupdf/fitz/image.h
@@ -185,8 +185,7 @@ fz_image *fz_new_image_of_size(fz_context *ctx,
interpolate: 1 if interpolation should be used when decoding
this image, 0 otherwise.
- imagemask: 1 if this is an imagemask (i.e. transparent), 0
- otherwise.
+ imagemask: 1 if this is an imagemask (i.e. transparency bitmap mask), 0 otherwise.
decode: NULL, or a pointer to to a decode array. The default
decode array is [0 1] (repeated n times, for n color components).
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