Function image::codecs::dxt::decode_dxt_colors

source ยท
fn decode_dxt_colors(source: &[u8], dest: &mut [u8], is_dxt1: bool)
๐Ÿ‘Ž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

decodes an 8-byte dxt color block into the RGB channels of a 16xRGB or 16xRGBA block. source should have a length of 8, dest a length of 48 (RGB) or 64 (RGBA)