deltachat::tools

Function get_filemeta

source
pub fn get_filemeta(buf: &[u8]) -> Result<(u32, u32)>
Expand description

Returns the (width, height) of the given image buffer.