Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/n/i/nik2img-0.8.0/mapnik_utils/renderer.py   nik2img(Download)
            else:
                mapnik.render(args[0],im)
            im.save(png_tmp,'png')
            # todo - figure out more reasonable defaults
            opts = ' -ot Byte -co COMPRESS=JPEG -co JPEG_QUALITY=100'