pub fn load_image( path: &Path, image_type: ImageType, ) -> Result<ImageFile, String>
Read and lint a local image: PNG or JPEG, and for PNGs the pixel size against the bucket’s rules.