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

ImageSequence.Iterator color issue #4554

Closed
HansolEom opened this issue Apr 14, 2020 · 3 comments
Closed

ImageSequence.Iterator color issue #4554

HansolEom opened this issue Apr 14, 2020 · 3 comments
Labels

Comments

@HansolEom
Copy link

HansolEom commented Apr 14, 2020

test

from PIL import Image, ImageSequence
img = Image.open(path)
imgs = ImageSequence.Iterator(img)
for idx, i in enumerate(imgs,1):
    i.convert('RGB').save('{}.jpg'.format(idx))

I made the code as above.
I got the image below.

1
2

Why is the color broken? Can I solve this problem?

@radarhere radarhere added the GIF label May 24, 2020
@InfiniteMarcus
Copy link

Today, I faced the same problem. Did anyone managed to solve this?

@radarhere
Copy link
Member

Pillow 9.0.0 has significantly improved reading animated GIFs thanks to #5857.

If this issue is still a problem when using Pillow 9.0.0, please let us know.

@InfiniteMarcus
Copy link

InfiniteMarcus commented Jan 4, 2022

I tested my code with v9.0.0 and for me the issue is solved. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants