Skip to content

Fix colorscale issue with latest Pillow version#2

Open
tylerlum wants to merge 1 commit intoxt4d:mainfrom
tylerlum:main
Open

Fix colorscale issue with latest Pillow version#2
tylerlum wants to merge 1 commit intoxt4d:mainfrom
tylerlum:main

Conversation

@tylerlum
Copy link

In latest version of Pillow (10.4.0), getpalette() is modified to always have length 256
This breaks the old colorscale generation code, but this code fixes it
python-pillow/Pillow#7561

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.

1 participant