Skip to main content

sample_pixel

Function sample_pixel 

Source
pub fn sample_pixel(pixels: &[u8], width: u32, x: u32, y: u32) -> [u8; 4]