Commit 8b68e47d by BellCodeEditor

save project

parent c4a2e2a6
...@@ -8,7 +8,7 @@ il=[] ...@@ -8,7 +8,7 @@ il=[]
for i in ph: for i in ph:
im=Image.open(i) im=Image.open(i)
il.append(im) il.append(im)
il[0].save("Robot.gif", save_all=True,append_images=il[1:]) il[0].save("Robot.gif", save_all=True,append_images=il[1:])a
from tkinter import filedialog , Tkgg from tkinter import filedialog , Tkgg
from PIL import Image from PIL import Image
s = Tk() s = Tk()
......
from PIL import Image,ImageSequence
img = Image.open("dive.gif")
num = 0
for i in ImageSequence.Iterator(img):
i.save(r"./img"+str(num)+".png")
num += 1
\ No newline at end of file
img0.png

48.4 KB

img1.png

47.9 KB

img10.png

52.1 KB

img11.png

52.6 KB

img2.png

47.7 KB

img3.png

48.3 KB

img4.png

48.2 KB

img5.png

49.1 KB

img6.png

50.1 KB

img7.png

52 KB

img8.png

51.7 KB

img9.png

52.1 KB

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