From 6fd92dcc3e564c3a8099e96c24790d98c55147bd Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 24 May 2012 13:41:00 -0700 Subject: [PATCH] do not premultiply the image mask being composited to the target buffer - fixes #1211 --- bindings/python/mapnik_image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/mapnik_image.cpp b/bindings/python/mapnik_image.cpp index 9107aa881..3884b5c2e 100644 --- a/bindings/python/mapnik_image.cpp +++ b/bindings/python/mapnik_image.cpp @@ -149,7 +149,7 @@ void blend (image_32 & im, unsigned x, unsigned y, image_32 const& im2, float op void composite(image_32 & im, image_32 & im2, mapnik::composite_mode_e mode, float opacity) { - mapnik::composite(im.data(),im2.data(),mode,opacity,0,0,true,true); + mapnik::composite(im.data(),im2.data(),mode,opacity,0,0,false,true); } #if defined(HAVE_CAIRO) && defined(HAVE_PYCAIRO)