Commit 6782623a by BellCodeEditor

save project

parent 379a3c98
Showing with 7 additions and 1 deletions
......@@ -7,7 +7,7 @@ path=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.
il = []
for i in path:
im=Image.open(i)
il.append(im)
il.insert(0,im)
il[0].save('bot.gif',save_all = True,append_images=il[1:])
......
from PIL import Image,ImageSequence
im = Image.open('dive.gif')
num = 0
for i in ImageSequence.Iterator(im):
i.save('turn/'+str(num)+'.png')
num+=1
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