Skip to main content

encode_lossless_with_config

Function encode_lossless_with_config 

Source
pub fn encode_lossless_with_config(
    image: &ImageBuffer,
    config: &LosslessEncodingConfig,
    exif: Option<&[u8]>,
) -> Result<Vec<u8>, EncoderError>
Expand description

Encodes an image as a still lossless WebP using the standard config API.