Commit d3db67f0 by BellCodeEditor

save project

parent 587b69f1
Showing with 7 additions and 0 deletions
from PIL import Image,ImageSequence
img = Image.open("pi5.gif")
num = 0
for i in ImageSequence.Iterator(img):
i.save("img/"+str(num)+".png") # 这里把分解到的每一张静态图保存到当前目录下
num += 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