Function oxipng::optimize_from_memory

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

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