make src_over the default compositing operation (and an optional kwarg) for im.composite()

This commit is contained in:
Dane Springmeyer 2012-10-04 14:19:36 -07:00
parent a6129e9a80
commit 9b053f493b

View File

@ -228,7 +228,7 @@ void export_image()
.def("composite",&composite,
( arg("self"),
arg("image"),
arg("mode"),
arg("mode")=mapnik::src_over,
arg("opacity")=1.0f
))
.def("premultiply",&image_32::premultiply)