mirror of
https://github.com/openai/codex.git
synced 2026-11-07 20:30:33 +00:00
Add a regression test that corrupts a PNG's compressed pixel data while preserving readable dimensions. Verify that `load_for_prompt_bytes` returns `ImageProcessingError::Decode` in `ORIGINAL_DETAIL` mode even when the image is small enough to pass through without resizing. GitOrigin-RevId: 92d9239b469d3e3cf4437eb6fecbf7c11d0bcc7a