Skip to content

Allow FLI palette chunk to not be first#6626

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:fli
Oct 12, 2022
Merged

Allow FLI palette chunk to not be first#6626
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:fli

Conversation

@radarhere
Copy link
Copy Markdown
Member

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 https://www.fileformat.info/format/fli/egff.htm#FLI-DMYID.3.1 as a reference. The test image was created by using hexeditting to swap the two chunks in existing test image hopper.fli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FliImagePlugin cannot get colours

2 participants