run_length

Function run_length 

Source
pub fn run_length(image: &[u8]) -> Result<Vec<(u8, u8, u8, u8)>, ValError>
Expand description

Run-Length-Encoding on 1D 178x128 image array. Return (x1, y1, x2, y2) line bytecode.