Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/t/i/TileStache-HEAD/TileStache/Core.py   TileStache(Download)
from time import time
 
from Pixels import load_palette, apply_palette, apply_palette256
 
try:
                if self.palette256:
                    # this is where we have PIL optimally palette our image
                    subtile = apply_palette256(subtile)
 
                subtile.save(buff, format)