From 921c058d7dff3ffd2a462e28c74db2049de83994 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 26 Jan 2015 21:35:35 -0800 Subject: [PATCH] use image.blend is gone so use image.composite --- tests/python_tests/utilities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/python_tests/utilities.py b/tests/python_tests/utilities.py index 9d413a97f..45be868b8 100644 --- a/tests/python_tests/utilities.py +++ b/tests/python_tests/utilities.py @@ -83,6 +83,6 @@ def side_by_side_image(left_im, right_im): width = left_im.width() + 1 + right_im.width() height = max(left_im.height(), right_im.height()) im = mapnik.Image(width, height) - im.blend(0, 0, left_im, 1.0) - im.blend(left_im.width() + 1, 0, right_im, 1.0) + im.composite(left_im,mapnik.CompositeOp.src_over,1.0,0,0) + im.composite(right_im,mapnik.CompositeOp.src_over,1.0,left_im.width() + 1, 0) return im