Function image::codecs::dxt::diff

source ·
fn diff(a: [u8; 3], b: [u8; 3]) -> i32
👎Deprecated: DXT support will be removed or reworked in a future version. Prefer the squish crate instead. See https://github.com/image-rs/image/issues/1623
Expand description

returns the squared error between two RGB values