Function fax::decoder::pels

source · []
pub fn pels(line: &[u16], width: u16) -> impl Iterator<Item = Color> + '_
Expand description

Turn a list of color changing position into an iterator of pixel colors

The width of the line/image has to be given in width. The iterator will produce exactly that many items.