diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-07-12 13:38:46 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-07-12 14:45:46 +0200 |
commit | e3d769c16d22f42a2fa60ad5c375ffd7738a8a44 (patch) | |
tree | 1843421ab0400c64f8c8c1d27ef84a63ecccce8b /source/fitz | |
parent | 111dee34f42181678cb26835205cda2cdf1fa6d0 (diff) | |
download | mupdf-e3d769c16d22f42a2fa60ad5c375ffd7738a8a44.tar.xz |
Fix typo in fz_new_image_from_pixmap.
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/image.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/fitz/image.c b/source/fitz/image.c index 330b65cf..e6772783 100644 --- a/source/fitz/image.c +++ b/source/fitz/image.c @@ -724,8 +724,7 @@ fz_new_image_from_pixmap(fz_context *ctx, fz_pixmap *pixmap, fz_image *mask) fz_try(ctx) { image = (fz_pixmap_image *) - fz_new_image(ctx, pixmap->w, pixmap->h, - pixmap->n, pixmap->colorspace, + fz_new_image(ctx, pixmap->w, pixmap->h, 8, pixmap->colorspace, pixmap->xres, pixmap->yres, 0, 0, NULL, NULL, mask, sizeof(fz_pixmap_image), |