From 6bae98dfc1302be8c246ce080e089dcbbf402df6 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Sat, 17 Aug 2013 15:24:43 +0930 Subject: [PATCH 2/2] pdfimages: fix bug in -list output Images of type /ImageMask should have type 'stencil'. --- utils/ImageOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/ImageOutputDev.cc b/utils/ImageOutputDev.cc index 55f1ce1..e61e8e9 100644 --- a/utils/ImageOutputDev.cc +++ b/utils/ImageOutputDev.cc @@ -461,7 +461,7 @@ void ImageOutputDev::drawImageMask(GfxState *state, Object *ref, Stream *str, int width, int height, GBool invert, GBool interpolate, GBool inlineImg) { if (listImages) - listImage(state, ref, str, width, height, NULL, interpolate, inlineImg, imgMask); + listImage(state, ref, str, width, height, NULL, interpolate, inlineImg, imgStencil); else writeMask(state, ref, str, width, height, invert, interpolate, inlineImg); } -- 1.8.1.2