Function image::codecs::dxt::encode_dxt1_block
source ยท fn encode_dxt1_block(source: &[u8], dest: &mut [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/1623Expand description
Encodes a RGBx16 sequence of bytes into a 8 bytes DXT1 block