utils/ImageOutputDev.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 651c533e92e3315f89764857094d71652f3349e0
Author: Albert Astals Cid <aa...@kde.org>
Date:   Mon Feb 14 15:58:07 2022 +0100

    pdfimages: Fix the wrong Stream being passed for drawMaskedImage

diff --git a/utils/ImageOutputDev.cc b/utils/ImageOutputDev.cc
index 4bb9d8ab..2dcf44e4 100644
--- a/utils/ImageOutputDev.cc
+++ b/utils/ImageOutputDev.cc
@@ -13,7 +13,7 @@
 // All changes made under the Poppler project to this file are licensed
 // under GPL version 2 or later
 //
-// Copyright (C) 2005, 2007, 2011, 2018, 2019, 2021 Albert Astals Cid 
<aa...@kde.org>
+// Copyright (C) 2005, 2007, 2011, 2018, 2019, 2021, 2022 Albert Astals Cid 
<aa...@kde.org>
 // Copyright (C) 2006 Rainer Keller <class...@gmx.de>
 // Copyright (C) 2008 Timothy Lee <timothy....@siriushk.com>
 // Copyright (C) 2008 Vasile Gaburici <gabur...@cs.umd.edu>
@@ -688,7 +688,7 @@ void ImageOutputDev::drawMaskedImage(GfxState *state, 
Object *ref, Stream *str,
 {
     if (listImages) {
         listImage(state, ref, str, width, height, colorMap, interpolate, 
false, imgImage);
-        listImage(state, ref, str, maskWidth, maskHeight, nullptr, 
maskInterpolate, false, imgMask);
+        listImage(state, ref, maskStr, maskWidth, maskHeight, nullptr, 
maskInterpolate, false, imgMask);
     } else {
         writeImage(state, ref, str, width, height, colorMap, false);
         writeImage(state, ref, maskStr, maskWidth, maskHeight, nullptr, false);

Reply via email to