Skip to content

Conversation

@jsbueno
Copy link
Contributor

@jsbueno jsbueno commented Oct 9, 2022

Fixes #6652

Raise ValueError when a translucent or transparent RGBA color is used with ImagePalette.getcolor in
a RGB mode instance.

@radarhere radarhere changed the title Fix #6652: Handle translucent color used in RGB ImagePallete Raise an error when allocating translucent color to RGB ImagePalette Oct 10, 2022
@radarhere radarhere changed the title Raise an error when allocating translucent color to RGB ImagePalette Raise an error when allocating translucent color to RGB palette Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ImagePalette: loading a translucent RGBA color into an RGB palette will break the palette

3 participants