Commit 930685f9 by BellCodeEditor

save project

parent a46d9567
Showing with 3 additions and 4 deletions
......@@ -7,5 +7,5 @@ ph=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.pn
image_list=[]
for i in ph:
image=Image.open(i)
image_list.insert(0,image)
image_list[0].save('bot.gif',save_all=True,append_images=image_list[1:])
\ No newline at end of file
image_list.append(image)
image_list[0].save('robot.gif',save_all=True,append_images=image_list[1:])
\ No newline at end of file
......@@ -5,4 +5,3 @@ num=0
for i in ImageSequence.Iterator(im):
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