pub fn validate_decoding( filename: &str, contents: &[u8], limits: Limits, ) -> Result<(), ImageValidationError>