Commit 23bada24 by BellCodeEditor

auto save

parent 9f32ea78
Showing with 2 additions and 4 deletions
...@@ -6,6 +6,4 @@ rt.withdraw() ...@@ -6,6 +6,4 @@ rt.withdraw()
ph=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.png')],initialdir='./') ph=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.png')],initialdir='./')
il=[] il=[]
for i in ph: for i in ph:
im=Image.open(i) print(i)
il.append(im) \ No newline at end of file
il[0].save("robot.gif", save_all=True,append_images=il[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