Use previous disposal method in GIF load_end #5125
Animated GIFs have subsequent frames encoded as cropped portions of the image. How the image data from previous frames is treated is called the 'disposal method'.
When GifImagePlugin reads
Which is why this
is incorrect. This PR changes
I've added a test case. The second frame of 'Tests/images/dispose_none_load_end.gif' is tested to equal 'Tests/images/dispose_none_load_end_second.gif'. You can verify this should be case by just opening up 'Tests/images/dispose_none_load_end.gif' in an image viewer.
The text was updated successfully, but these errors were encountered: