[−][src]Function ytesrev::ditherer::alpha_dither_fn
pub fn alpha_dither_fn<T: ImageContainer + KnownSize>(
image: &T,
(x, y): (usize, usize)
) -> u64
A dithering function that is useful for images with transparency in them, fading regions with high alpha gradient first