[poppler] utils/HtmlOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Wed Apr 11 15:21:18 PDT 2012
utils/HtmlOutputDev.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 80f662162698c1ec27771d9cf5e2e6bc3d21c4df
Author: Ihar Filipau <thephilips at gmail.com>
Date: Thu Apr 12 00:19:26 2012 +0200
Fix the mask inversion
diff --git a/utils/HtmlOutputDev.cc b/utils/HtmlOutputDev.cc
index cc57c91..bd8c642 100644
--- a/utils/HtmlOutputDev.cc
+++ b/utils/HtmlOutputDev.cc
@@ -1428,7 +1428,7 @@ void HtmlOutputDev::drawPngImage(GfxState *state, Stream *str, int width, int he
// invert for PNG
for(int i = 0; i < width; i++)
- png_row[i] = bit_row[i] ? 0x00 : 0xff ;
+ png_row[i] = bit_row[i] ? 0xff : 0x00;
if (!writer->writeRow( &png_row ))
{
More information about the poppler
mailing list