Function termimage::ops::write_ansi
source · pub fn write_ansi<W: Write, C: Index<usize, Output = u8>>(
out: &mut W,
img: &DynamicImage,
foreground_colours: &[C]
)
Expand description
Display the specified image approximating it to the specified colours in the default console using ANSI escape codes.