Function diffuse_stucki

Source
pub fn diffuse_stucki(
    data: &mut [u8],
    width: i32,
    height: i32,
    x: i32,
    y: i32,
    depth: i32,
    error: i32,
) -> Result<()>
Expand description

Stucki’s Method

Col0Col1Col2Col3Col4
curr8/484/48
2/484/488/484/482/48
1/482/484/482/481/48