Function image::codecs::dxt::encode_dxt1_row

source ยท
fn encode_dxt1_row(source: &[u8]) -> Vec<u8>
๐Ÿ‘Ž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

Decode a row of DXT1 data to four rows of RGBA data. source.len() should be a multiple of 8, otherwise this panics.