Skip to main content

decode_picture

Function decode_picture 

Source
pub fn decode_picture(source: &str) -> Option<DocumentImage>
Expand description

Decodes a PNG or JPEG from a data: address or base64 text. Limits protect a server from a small file that expands into huge pixels.