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
Colors don't match images used when saving GIF #5484
Labels
Comments
radarhere
changed the title
Can't generate .gif correctly. Colors don't match to images used
Colors don't match images used when saving GIF
May 10, 2021
@radarhere @julienguegan Could I take this issue? This seems interesting. |
@lilisako yeah, go for it |
@radarhere Attention, I have been using Pillow: 8.1.2 and I just saw that the new version 8.2 (April) has some update concerning .gif files. I am still trying to understand if it helps my problem ... |
I confirm it helps ! Plus https://gist.github.com/egocarib/ea022799cca8a102d14c54a22c45efe0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello all,
I have a weird behaviour when trying to save a .gif
Save a gif
I want to generate a gif from a sequence of image. I first create images with differents colors and transparence. Then, I save them. To generate a .gif, I read this images with
Image.open()
and then append them in a list.Behaviour wanted
I want that the gif generated is exactly composed of the images I have generated/saved
What actually happened
The gif generated look a bit like that the images used but colors are not the same, I can see a frame where a part is completely black where it should be white/gray.
image in gif : image used :
I feel that it could be because of the transparency channel but I need to have transparency when I generate my images and also in my final .gif file ...
Configuration
Minimal Example
The text was updated successfully, but these errors were encountered: