Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Mar 14, 2021

Two changes.

  1. Do not call self.im.copy(), only to then call self._crop - self._crop already creates a copy of the image.
  2. Instead of creating a solid color image of self.size and then cropping it, just create the solid color image at the necessary size.

@radarhere radarhere added the GIF label Mar 14, 2021
@hugovk
Copy link
Member

hugovk commented Mar 20, 2021

Thanks!

@hugovk hugovk merged commit 82b2f4a into python-pillow:master Mar 20, 2021
@radarhere radarhere deleted the gif_disposal branch March 20, 2021 10:59
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.

2 participants