codex/codex-rs/utils/image/src
Krish Chainani 280ae8b9fc Centralize prompt image detail modes (#42624)
## What changed

- Add `PromptImageMode::HIGH_DETAIL` and `PromptImageMode::ORIGINAL_DETAIL`
  constants with the standard resize limits.
- Use the shared modes during core image preparation instead of defining the
  limits locally.
- Cover the dimension and patch budgets for both detail modes in the image
  utility tests.

GitOrigin-RevId: 27fdc77719f23d2e8f1060886576b3be843a8491
History 2026-09-03 22:22:48 +00:00
..
error.rs image: add shared data URL preparation utilities (#27245) 2026-06-10 15:27:34 -07:00
image_tests.rs Centralize prompt image detail modes (#42624) 2026-09-03 22:22:48 +00:00
lib.rs Centralize prompt image detail modes (#42624) 2026-09-03 22:22:48 +00:00