Commit e132a414 by BellCodeEditor

auto save

parent 47d554e4
Showing with 4 additions and 4 deletions
......@@ -7,10 +7,10 @@ path = filedialog.askopenfilenames(title='选择图片文件',
filetypes=[('png ','.png')],
initialdir='./')
l=[]
l1=[]
for i in path:
img=Image.open(i)
l.append(img)
l1.append(img)
l[0].save("bot1.gif",save_all=True,
append_images=l[1:])
l1[0].save("bot1.gif",save_all=True,
append_images=l1[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