diff options
Diffstat (limited to 'source')
-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), |