Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow FLI palette chunk to not be first #6626

merged 1 commit into from Oct 12, 2022


Copy link

Resolves #6624

At the moment, FliImagePlugin only loads the palette if it is the first chunk. While this is the case in our test images, the issue has uploaded images where this is not the case.

I used as a reference. The test image was created by using hexeditting to swap the two chunks in existing test image hopper.fli.

@hugovk hugovk merged commit a275541 into python-pillow:main Oct 12, 2022
60 checks passed
@radarhere radarhere deleted the fli branch October 12, 2022 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

FliImagePlugin cannot get colours
2 participants