Skip to main content

encode_grayscale

Function encode_grayscale 

Source
pub fn encode_grayscale(pixels: &[u8], total_pixels: u32) -> Result<Vec<u8>>
Expand description

Encode with tag 0x01; the returned bytes include the tag.