Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / level3-lesson22-diy2

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit adfcf0c4 authored 2 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent a1b1d1dd
Hide whitespace changes
Inline Side-by-side
Showing with 56 additions and 0 deletions
  • 1.py
  • My_GIF.py
  • Robot.gif
  • b.py
  • bot.gif
  • d.py
  • dive.gif
  • take out and in.py
  • turn/0.png
  • turn/1.png
  • turn/10.png
  • turn/11.png
  • turn/12.png
  • turn/13.png
  • turn/14.png
  • turn/15.png
  • turn/16.png
  • turn/17.png
  • turn/18.png
  • turn/19.png
  • turn/2.png
  • turn/20.png
  • turn/21.png
  • turn/22.png
  • turn/23.png
  • turn/24.png
  • turn/25.png
  • turn/26.png
  • turn/27.png
  • turn/28.png
  • turn/29.png
  • turn/3.png
  • turn/30.png
  • turn/31.png
  • turn/32.png
  • turn/33.png
  • turn/34.png
  • turn/35.png
  • turn/36.png
  • turn/4.png
  • turn/5.png
  • turn/6.png
  • turn/7.png
  • turn/8.png
  • turn/9.png
  • xbdts.gif
1.py 0 → 100644
View file @ adfcf0c4
from tkinter import filedialog,Tk
path = filedialog.askopenfilenames(title='选择图片文件',
filetypes=[('All Files','*')],
initialdir="./")
print(path)
\ No newline at end of file
This diff is collapsed. Click to expand it.
My_GIF.py 0 → 100644
View file @ adfcf0c4
from tkinter import filedialog,Tk
from PIL import Image
rt=Tk()
rt.withdraw()
ph=filedialog.askopenfilenames(title='选择图片文件',
filetypes=[('png','.png')],initialdir='./')
il=[]
for i in ph:
im=Image.open(i)
il.append(im)
il[0].save("Robot.gif", save_all=True,append_images=il[1:])
This diff is collapsed. Click to expand it.
Robot.gif 0 → 100644
View file @ adfcf0c4
This diff is collapsed. Click to expand it.
b.py 0 → 100644
View file @ adfcf0c4
from tkinter import filedialog, Tk
from PIL import Image
rt=Tk()
rt.withdraw()
path=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.png')],initialdir='./')
sequence=[]
for i in path:
img=Image.open(i)
sequence.append(0,img)
sequence[0].save("bot.gif",save_all=True,
append_images=sequence[1:])
\ No newline at end of file
This diff is collapsed. Click to expand it.
bot.gif 0 → 100644
View file @ adfcf0c4
This diff is collapsed. Click to expand it.
d.py 0 → 100644
View file @ adfcf0c4
from tkinter import filedialog,Tk
from PIL import Image
root = Tk()
root.withdraw()
path = filedialog.askopenfilenames(title = '选择图片文件',
filetypes = [('ALL Files', '*')],
initialdir = "./")
img_list = []
for i in path:
img = image.open(1)
img_list.append(0,img)
img_list[0].save("bot.gif",save_all = True,
append_images = img_list[1:])
\ No newline at end of file
This diff is collapsed. Click to expand it.
dive.gif 0 → 100644
View file @ adfcf0c4
This diff is collapsed. Click to expand it.
take out and in.py 0 → 100644
View file @ adfcf0c4
from PIL import Image,ImageSequence
im=Image.open('dive.gif')
num=0
for i in ImageSequence.Iterator(im):
i.save('turn/'+str(num)+'.png')
num+=1
\ No newline at end of file
This diff is collapsed. Click to expand it.
turn/0.png 0 → 100644
View file @ adfcf0c4
turn/0.png

48.4 KB

This diff is collapsed. Click to expand it.
turn/1.png 0 → 100644
View file @ adfcf0c4
turn/1.png

47.9 KB

This diff is collapsed. Click to expand it.
turn/10.png 0 → 100644
View file @ adfcf0c4
turn/10.png

52.1 KB

This diff is collapsed. Click to expand it.
turn/11.png 0 → 100644
View file @ adfcf0c4
turn/11.png

52.6 KB

This diff is collapsed. Click to expand it.
turn/12.png 0 → 100644
View file @ adfcf0c4
turn/12.png

51.8 KB

This diff is collapsed. Click to expand it.
turn/13.png 0 → 100644
View file @ adfcf0c4
turn/13.png

51.4 KB

This diff is collapsed. Click to expand it.
turn/14.png 0 → 100644
View file @ adfcf0c4
turn/14.png

50.2 KB

This diff is collapsed. Click to expand it.
turn/15.png 0 → 100644
View file @ adfcf0c4
turn/15.png

50.9 KB

This diff is collapsed. Click to expand it.
turn/16.png 0 → 100644
View file @ adfcf0c4
turn/16.png

50.2 KB

This diff is collapsed. Click to expand it.
turn/17.png 0 → 100644
View file @ adfcf0c4
turn/17.png

50.2 KB

This diff is collapsed. Click to expand it.
turn/18.png 0 → 100644
View file @ adfcf0c4
turn/18.png

50.1 KB

This diff is collapsed. Click to expand it.
turn/19.png 0 → 100644
View file @ adfcf0c4
turn/19.png

50.1 KB

This diff is collapsed. Click to expand it.
turn/2.png 0 → 100644
View file @ adfcf0c4
turn/2.png

47.7 KB

This diff is collapsed. Click to expand it.
turn/20.png 0 → 100644
View file @ adfcf0c4
turn/20.png

49.8 KB

This diff is collapsed. Click to expand it.
turn/21.png 0 → 100644
View file @ adfcf0c4
turn/21.png

50 KB

This diff is collapsed. Click to expand it.
turn/22.png 0 → 100644
View file @ adfcf0c4
turn/22.png

50.2 KB

This diff is collapsed. Click to expand it.
turn/23.png 0 → 100644
View file @ adfcf0c4
turn/23.png

50.1 KB

This diff is collapsed. Click to expand it.
turn/24.png 0 → 100644
View file @ adfcf0c4
turn/24.png

50.3 KB

This diff is collapsed. Click to expand it.
turn/25.png 0 → 100644
View file @ adfcf0c4
turn/25.png

50.9 KB

This diff is collapsed. Click to expand it.
turn/26.png 0 → 100644
View file @ adfcf0c4
turn/26.png

49.9 KB

This diff is collapsed. Click to expand it.
turn/27.png 0 → 100644
View file @ adfcf0c4
turn/27.png

48.9 KB

This diff is collapsed. Click to expand it.
turn/28.png 0 → 100644
View file @ adfcf0c4
turn/28.png

49.1 KB

This diff is collapsed. Click to expand it.
turn/29.png 0 → 100644
View file @ adfcf0c4
turn/29.png

49.6 KB

This diff is collapsed. Click to expand it.
turn/3.png 0 → 100644
View file @ adfcf0c4
turn/3.png

48.3 KB

This diff is collapsed. Click to expand it.
turn/30.png 0 → 100644
View file @ adfcf0c4
turn/30.png

49.4 KB

This diff is collapsed. Click to expand it.
turn/31.png 0 → 100644
View file @ adfcf0c4
turn/31.png

49 KB

This diff is collapsed. Click to expand it.
turn/32.png 0 → 100644
View file @ adfcf0c4
turn/32.png

49.1 KB

This diff is collapsed. Click to expand it.
turn/33.png 0 → 100644
View file @ adfcf0c4
turn/33.png

49.3 KB

This diff is collapsed. Click to expand it.
turn/34.png 0 → 100644
View file @ adfcf0c4
turn/34.png

49 KB

This diff is collapsed. Click to expand it.
turn/35.png 0 → 100644
View file @ adfcf0c4
turn/35.png

48.4 KB

This diff is collapsed. Click to expand it.
turn/36.png 0 → 100644
View file @ adfcf0c4
turn/36.png

48.2 KB

This diff is collapsed. Click to expand it.
turn/4.png 0 → 100644
View file @ adfcf0c4
turn/4.png

48.2 KB

This diff is collapsed. Click to expand it.
turn/5.png 0 → 100644
View file @ adfcf0c4
turn/5.png

49.1 KB

This diff is collapsed. Click to expand it.
turn/6.png 0 → 100644
View file @ adfcf0c4
turn/6.png

50.1 KB

This diff is collapsed. Click to expand it.
turn/7.png 0 → 100644
View file @ adfcf0c4
turn/7.png

52 KB

This diff is collapsed. Click to expand it.
turn/8.png 0 → 100644
View file @ adfcf0c4
turn/8.png

51.7 KB

This diff is collapsed. Click to expand it.
turn/9.png 0 → 100644
View file @ adfcf0c4
turn/9.png

52.1 KB

This diff is collapsed. Click to expand it.
xbdts.gif 0 → 100644
View file @ adfcf0c4
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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