pub fn image_to_bytes(
image: &DynamicImage,
format: TextureFormat,
) -> Result<Vec<u8>>
Expand description
Convert a dynamic image to bytes based on format
pub fn image_to_bytes(
image: &DynamicImage,
format: TextureFormat,
) -> Result<Vec<u8>>
Convert a dynamic image to bytes based on format