summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-05-24 13:46:28 +0100
committerRobin Watts <robin.watts@artifex.com>2016-05-26 10:36:35 +0100
commitee972fbfa1093fe2e8641dc450e1c20347df2b04 (patch)
tree8ff2a934f13e3804a28e21ce5bd0eabfde5b549d /include
parentdff58514f30b10850bab0205580af98ec3217d64 (diff)
downloadmupdf-ee972fbfa1093fe2e8641dc450e1c20347df2b04.tar.xz
Avoid unnecessary alphas when decompressing images from streams.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/fitz/image.h b/include/mupdf/fitz/image.h
index 255337ee..9a8d5309 100644
--- a/include/mupdf/fitz/image.h
+++ b/include/mupdf/fitz/image.h
@@ -72,7 +72,7 @@ fz_image *fz_new_image_from_buffer(fz_context *ctx, fz_buffer *buffer);
fz_image *fz_new_image_from_file(fz_context *ctx, const char *path);
void fz_drop_image_imp(fz_context *ctx, fz_storable *image);
fz_pixmap *fz_decomp_image_from_stream(fz_context *ctx, fz_stream *stm, fz_compressed_image *image, fz_irect *subarea, int indexed, int l2factor);
-fz_pixmap *fz_expand_indexed_pixmap(fz_context *ctx, fz_pixmap *src);
+fz_pixmap *fz_expand_indexed_pixmap(fz_context *ctx, const fz_pixmap *src, int alpha);
size_t fz_image_size(fz_context *ctx, fz_image *im);
struct fz_image_s