Skip to content

fix: DecodePaletteOrErr does not return an error when the number of colors is exceeded#164

Merged
elgopher merged 1 commit intomasterfrom
unit-tests
Jul 24, 2025
Merged

fix: DecodePaletteOrErr does not return an error when the number of colors is exceeded#164
elgopher merged 1 commit intomasterfrom
unit-tests

Conversation

@elgopher
Copy link
Owner

@elgopher elgopher commented Jul 22, 2025

DecodePaletteOrErr does not return an error when the number of colors is exceeded for images with RGB color mode. For indexed palette the behavior is correct.

@elgopher elgopher self-assigned this Jul 22, 2025
@elgopher elgopher added the enhancement New feature or request label Jul 22, 2025
@elgopher elgopher force-pushed the unit-tests branch 2 times, most recently from 0465a3f to 7e81e82 Compare July 23, 2025 00:39
…olors is exceeded

DecodePaletteOrErr does not return an error when the number of colors is exceeded for images with RGB color mode. For indexed palette the behavior is correct.
@elgopher elgopher changed the title tests: add DecodePaletteOrErr unit tests fix: DecodePaletteOrErr does not return an error when the number of colors is exceeded Jul 23, 2025
@elgopher elgopher added bug Something isn't working and removed enhancement New feature or request labels Jul 23, 2025
@elgopher elgopher marked this pull request as ready for review July 23, 2025 00:43
@elgopher elgopher merged commit bd8a829 into master Jul 24, 2025
1 of 4 checks passed
@elgopher elgopher deleted the unit-tests branch July 24, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant