summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2013-08-17 15:24:43 +0930
committerAdrian Johnson <ajohnson@redneon.com>2013-08-26 06:40:34 +0930
commit0ca0fcc9f536a57365048914cd8a8cc3eb5ed4fd (patch)
treea5b719b0881c974b6c55ea40402c1e006d35a0cc /utils
parentf8ee5a931c795013d17f73f083b6e6f9a683d061 (diff)
pdfimages: fix bug in -list output
Images of type /ImageMask should have type 'stencil'.
Diffstat (limited to 'utils')
-rw-r--r--utils/ImageOutputDev.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ImageOutputDev.cc b/utils/ImageOutputDev.cc
index 1d1064bf..3b9427bc 100644
--- a/utils/ImageOutputDev.cc
+++ b/utils/ImageOutputDev.cc
@@ -467,7 +467,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);
}