Function oxipng::optimize_from_memory [] [src]

pub fn optimize_from_memory(
    data: &[u8],
    opts: &Options
) -> Result<Vec<u8>, PngError>

Perform optimization on the input file using the options provided, where the file is already loaded in-memory