[][src]Function oxipng::optimize_from_memory

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

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