Function building_blocks_storage::encode_image[][src]

pub fn encode_image<T, P, Map>(
    map: &Map,
    map_extent: Extent2i
) -> ImageBuffer<P, Vec<<P as Pixel>::Subpixel>> where
    T: Into<P>,
    Map: Get<Point2i, Item = T>,
    P: Pixel + 'static,