Skip to main content

decode

Function decode 

Source
pub fn decode(data: &[u8]) -> Result<ImageData, String>
Expand description

A PNG or JPEG file’s pixels, as straight-alpha RGBA, or why it has none.