From aea9f03185486cae6d8754fe89effe31a938ccc1 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Mon, 17 Oct 2016 21:38:36 +0800 Subject: Remove unused luminosity. --- source/pdf/pdf-image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/pdf') diff --git a/source/pdf/pdf-image.c b/source/pdf/pdf-image.c index fa1d7675..48aba958 100644 --- a/source/pdf/pdf-image.c +++ b/source/pdf/pdf-image.c @@ -51,7 +51,7 @@ pdf_load_image_imp(fz_context *ctx, pdf_document *doc, pdf_obj *rdb, pdf_obj *di fz_drop_pixmap(ctx, tile); tile = gray; } - mask_pixmap = fz_alpha_from_gray(ctx, tile, 1); + mask_pixmap = fz_alpha_from_gray(ctx, tile); fz_drop_pixmap(ctx, tile); fz_set_pixmap_image_tile(ctx, cimg, mask_pixmap); } -- cgit v1.2.3