[][src]Function termimage::ops::write_ansi

pub fn write_ansi<W: Write, C: Index<usize, Output = u8>>(
    out: &mut W,
    img: &DynamicImage,
    foreground_colours: &[C]
)

Display the specified image approximating it to the specified colours in the default console using ANSI escape codes.