Commit ca0e7191 by BellCodeEditor

save project

parent 5a38dc6e
Showing with 7 additions and 0 deletions
from PIL import Image,ImageSequence
imp = Image.open("pi5.gif")
num = 0
for i in ImageSequence.Iterator(img):
i.save("imp/"+str(num)+".png")
num += 1
\ No newline at end of file
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