pub fn check_image(image: &Image) -> Result<(), String>
Check one image’s form and size. The error says why it is refused.