Function pixels_graphics_lib::prelude::indexed::create_image_from_string
source · pub fn create_image_from_string(
palette: &HashMap<char, Color, RandomState>,
input: &str
) -> Result<IndexedImage, IndexedImageError>
Expand description
Creates an image using an index and a grid of chars