mapnik / python-mapnik

Python bindings for mapnik
GNU Lesser General Public License v2.1
160 stars 91 forks source link

mapnik.Image - add user-friendly accessor/setting interface #150

Open artemp opened 7 years ago

artemp commented 7 years ago

We should have something like

im=mapnik.Image(256,256)
im(0,0)=mapnik.Color("red").packed()

or

im[0,0]=mapnik.Color("red").packed()