Commit 398725ba by BellCodeEditor

auto save

parent c12e147d
Showing with 2 additions and 4 deletions
...@@ -2,6 +2,5 @@ from PIL import Image,ImageSequence ...@@ -2,6 +2,5 @@ from PIL import Image,ImageSequence
im=Image.open('dive.gif') im=Image.open('dive.gif')
num=0 num=0
for i in ImageSequence.Iterator(im): for
i.save('turn/'+str(num)+'.png')
num+=1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment