pub fn bitmap_sizes(bytes: &[u8]) -> Option<((u16, u16), (u16, u16))>
The size, in pixels, of one-bit picture file bytes, and its source size, or None if it doesn’t parse (Bitmap::parse).
bytes
None
Bitmap::parse