Commit c36416d9 by BellCodeEditor

auto save

parent 7228a5d2
Showing with 4 additions and 5 deletions
...@@ -6,10 +6,8 @@ root.withdraw() ...@@ -6,10 +6,8 @@ root.withdraw()
path=filedialog.askopenfilenames(title="选择图片文件", path=filedialog.askopenfilenames(title="选择图片文件",
filetypes=[('png','.png')], filetypes=[('png','.png')],
initialdir="./") initialdir="./")
sequence= [] img_list = []
for i in path: for i in path:
img = Image.open(i) img = Image.open(i)
sequence.append(img) img_list.append(img)
print(img_list)
sequence[0].save("but.gif",save_all=True, \ No newline at end of file
append_images=sequence[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