pub fn dimensions(data: &[u8]) -> Result<(u32, u32)>
Width and height straight out of the IHDR chunk.