Skip to main content

decode_image

Function decode_image 

Source
pub fn decode_image(image: &str) -> Result<(Vec<u8>, String)>
Expand description

The bytes and media type of a data:image/...;base64, URL or bare base64 (taken as JPEG).