Skip to content

pdf-color-space: clamp indexed color operands#209

Merged
Velli20 merged 1 commit into
mainfrom
fix-clamp-indexed-color-operands
Jul 9, 2026
Merged

pdf-color-space: clamp indexed color operands#209
Velli20 merged 1 commit into
mainfrom
fix-clamp-indexed-color-operands

Conversation

@Velli20

@Velli20 Velli20 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Clamp finite Indexed color operands into the palette range after rounding so negative values map to zero and high values map to hival.

Keep non-finite operands rejected and add direct tests for negative, high, rounded, and non-finite index handling.

Clamp finite Indexed color operands into the palette range after rounding so negative values map to zero and high values map to hival.

Keep non-finite operands rejected and add direct tests for negative, high, rounded, and non-finite index handling.

Co-authored-by: Codex <codex@openai.com>
@Velli20 Velli20 merged commit 9aba6db into main Jul 9, 2026
4 checks passed
@Velli20 Velli20 deleted the fix-clamp-indexed-color-operands branch July 9, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants