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

FliImagePlugin cannot get colours #6624

Closed
Elefant-Freeciv opened this issue Sep 28, 2022 · 6 comments · Fixed by #6626
Closed

FliImagePlugin cannot get colours #6624

Elefant-Freeciv opened this issue Sep 28, 2022 · 6 comments · Fixed by #6626
Labels

Comments

@Elefant-Freeciv
Copy link

Elefant-Freeciv commented Sep 28, 2022

The fli/flc plugin is unable to get the colours from a civ iii flc animation. The result of opening any civ iii animation is a black and white image. I apologize in advance for any issues in my reporting style.
Code is approximate, as I am working from memory on my smartphone.

from PIL import Image
img = Image.load("attack.flc")
img.save("attack.gif", Save_all=True)
@radarhere radarhere changed the title Fli plugin cannot get colours. Fli plugin cannot get colours Sep 28, 2022
@radarhere
Copy link
Member

Could you upload a copy of attack.flc?

@Elefant-Freeciv
Copy link
Author

imgs.zip
Here are a few.

@radarhere
Copy link
Member

Thanks. I've created PR #6626 to resolve this.

@radarhere radarhere changed the title Fli plugin cannot get colours FliImagePlugin cannot get colours Sep 30, 2022
@Elefant-Freeciv
Copy link
Author

Thanks. This works great! Can I expect it in the upcoming 9.3 release?

@radarhere
Copy link
Member

It still needs to be reviewed, but based on past experience, yes, I would expect so.

@radarhere
Copy link
Member

The PR has now been merged, so it is now due to be part of the next release.

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 a pull request may close this issue.

2 participants