pub fn validate_image_blocking( bytes: Vec<u8>, declared_media_type: Option<&str>, ) -> Result<ValidatedImage>