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 palette is not None:
            palette = urljoin(self.config.dirpath, palette)
            palette, bits, t_index = load_palette(palette)
 
            self.bitmap_palette, self.png_options['bits'] = palette, bits