Skip to main content

render_image

Function render_image 

Source
pub fn render_image(
    img: &RgbaImage,
    cols: u16,
    style: AsciiStyle,
    color: bool,
) -> Vec<Vec<Cell>>
Expand description

Render the image to a grid of styled cells cols wide. color controls whether per-cell foreground color is set (false ≈ --no-color).