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

Transforms and enhancements across all frames #3758

Closed
pirate486743186 opened this issue Mar 29, 2019 · 7 comments · Fixed by #3778
Closed

Transforms and enhancements across all frames #3758

pirate486743186 opened this issue Mar 29, 2019 · 7 comments · Fixed by #3778
Projects

Comments

@pirate486743186
Copy link
Contributor

It would be nice if transforms and enhancements could be applied on animations.

@radarhere
Copy link
Member

What sort of transforms and enhancements?

@radarhere
Copy link
Member

So when you say that you'd like them to be applied on animations, what you mean is that you'd like to be able to apply them across all frames of an image at once?

@pirate486743186
Copy link
Contributor Author

pirate486743186 commented Mar 30, 2019

yes. It seems to me that a lot of application would want a functionality like that.

@radarhere radarhere changed the title [Feature request] Transforms and enhancements on animations Transforms and enhancements on across all frames Mar 30, 2019
@radarhere radarhere changed the title Transforms and enhancements on across all frames Transforms and enhancements across all frames Mar 30, 2019
@radarhere
Copy link
Member

Okay. What about a generic way to apply a method to all frames of an image?

So, for example -

from PIL import Image, ImageSequence
im = Image.open('Tests/images/g4-multi.tiff')
ims = ImageSequence.all_frames(im, lambda im_frame: im_frame.rotate(180))
ims[0].save('out.tiff', save_all=True, append_images=ims[1:])

I've created this in PR #3778

@pirate486743186
Copy link
Contributor Author

lol, i was expecting a solution to this in....~5-10 years XD

@aclark4life aclark4life added this to Backlog in Pillow May 11, 2019
@aclark4life
Copy link
Member

@radarhere is that good 😄

@aclark4life aclark4life moved this from Backlog to In progress in Pillow May 11, 2019
@radarhere radarhere moved this from In progress to Review/QA in Pillow May 11, 2019
Pillow automation moved this from Review/QA to Closed Jun 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Pillow
  
Closed
Development

Successfully merging a pull request may close this issue.

3 participants