Skip to main content

png_data_url

Function png_data_url 

Source
fn png_data_url(bytes: &[u8]) -> Option<String>
Expand description

A reference crop as a data URL. Only a PNG is one: the bytes are checked, not the file name.