28 lines
529 B
Python
28 lines
529 B
Python
from apng import APNG
|
|
|
|
print "image1"
|
|
|
|
img = APNG.open("image.apng")
|
|
|
|
for png, control in img.frames:
|
|
print "---------"
|
|
print control.delay
|
|
print control.delay_den
|
|
|
|
print "image2"
|
|
|
|
img = APNG.open("shocked.apng")
|
|
|
|
for png, control in img.frames:
|
|
print "---------"
|
|
print control.delay
|
|
print control.delay_den
|
|
|
|
print "image3"
|
|
|
|
img = APNG.open("(a)mad.apng")
|
|
|
|
for png, control in img.frames:
|
|
print "---------"
|
|
print control.delay
|
|
print control.delay_den |