Commit 1b54a196 by BellCodeEditor

save project

parent 38b2dbf2
Showing with 8 additions and 1 deletions
...@@ -7,3 +7,9 @@ path = filedialog.askopenfilenames(title='选择图片文件', ...@@ -7,3 +7,9 @@ path = filedialog.askopenfilenames(title='选择图片文件',
filetypes =[('All Files','*')], filetypes =[('All Files','*')],
initialdir="./" initialdir="./"
print(path) print(path)
img.list = []
for i in path:
img = Image.open()
img_list.append(img)
img_list[0].save("bog.gif", save_all)=Ture,
append_images=img_list[1:])
\ No newline at end of file
...@@ -9,7 +9,7 @@ path = filedialog.askopenfilenames(title = '选择图片文件', ...@@ -9,7 +9,7 @@ path = filedialog.askopenfilenames(title = '选择图片文件',
img_list = [] img_list = []
for i in path: for i in path:
img = image.open(1) img = image.open(1)
img_list.insert(0,img) img_list.append()(img)
img_list[0].save("bot.gif",save_all = True, img_list[0].save("bot.gif",save_all = True,
......
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