Transform tile to pixel coordinates

def tile_to_pixel(tile, centered=False):
        """Transform tile to pixel coordinates"""
        pixel = [tile[0] * 256, tile[1] * 256]
        if centered:
            # should clip on max map size
            pixel = [pix + 128 for pix in pixel]
        return pixel[0], pixel[1]