[gs-commits] mupdf/master - 0_7-8-g38b37c5 - Fix typo that caused image masks to be dropped from indexed images.
Tor Andersson
tor at ghostscript.com
Mon Sep 27 10:47:12 UTC 2010
commit 38b37c5cce4793bc64b678c2e45656fa80515aca
Author: Tor Andersson <tor at ghostscript.com>
Date: Mon Sep 27 10:42:36 2010 +0000
Fix typo that caused image masks to be dropped from indexed images.
Ignore-this: ec60ee8a6d9a1b6d3404b5fd1a00329d
darcs-hash:20100927104236-f546f-367cb5ac0497fd35531c4dab1182f28309178a59.gz
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mupdf/pdf_image.c b/mupdf/pdf_image.c
index c0a5958..6021da0 100644
--- a/mupdf/pdf_image.c
+++ b/mupdf/pdf_image.c
@@ -193,8 +193,6 @@ pdf_loadimageimp(fz_pixmap **imgp, pdf_xref *xref, fz_obj *rdb, fz_obj *dict, fz
tile = fz_newpixmap(colorspace, 0, 0, w, h);
- tile->mask = mask;
-
scale = 1;
if (!indexed)
{
@@ -229,6 +227,8 @@ pdf_loadimageimp(fz_pixmap **imgp, pdf_xref *xref, fz_obj *rdb, fz_obj *dict, fz
if (colorspace)
fz_dropcolorspace(colorspace);
+ tile->mask = mask;
+
fz_free(samples);
*imgp = tile;
--
git/hooks/post-receive
More information about the gs-commits
mailing list