Commit 6c8ebfa2 by BellCodeEditor

save project

parent 75ccd6dd
img26.png

49.9 KB

img27.png

48.9 KB

img28.png

49.1 KB

img29.png

49.6 KB

img30.png

49.4 KB

img32.png

49.1 KB

img33.png

49.3 KB

img35.png

48.4 KB

img36.png

48.2 KB

from PIL import Image,ImageSequence
img=Image.open('dive.gif')
num=0
img = Image.open('dive.gif')
num = 0
for i in ImageSequence.Iterator(img):
i.save('./img'+str(num)+'.png')
num+=1
\ No newline at end of file
i.save("./img"+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