pub fn diffuse_burkes(
data: &mut [u8],
width: i32,
height: i32,
x: i32,
y: i32,
depth: i32,
error: i32,
) -> Result<()>
Expand description
Burkes’ Method
Col0 | Col1 | Col2 | Col3 | Col4 |
---|---|---|---|---|
curr | 4/16 | 2/16 | ||
1/16 | 2/16 | 4/16 | 2/16 | 1/16 |