fn parse_dimensions_line(line: &str, strict: bool) -> ImageResult<(u32, u32)>