pub fn validate_image_dimensions( height: u32, width: u32, context: &str, ) -> Result<(), OCRError>
Validates image dimensions.