more timeline names
This commit is contained in:
parent
055a2b6482
commit
624a69a89f
1 changed files with 2 additions and 1 deletions
|
@ -288,7 +288,8 @@ def average_color(prefix, start=0, end=0):
|
||||||
if end:
|
if end:
|
||||||
start = int(start * 25)
|
start = int(start * 25)
|
||||||
end = int(end * 25)
|
end = int(end * 25)
|
||||||
for image in sorted(glob("%s.%d.*.png" % (prefix, height))):
|
timelines = sorted(filter(lambda t: t!= '%s%sp.png'%(prefix,height), glob("%s%sp*.png"%(prefix, height))))
|
||||||
|
for image in timelines:
|
||||||
start_offset = 0
|
start_offset = 0
|
||||||
timeline = Image.open(image)
|
timeline = Image.open(image)
|
||||||
frames += timeline.size[0]
|
frames += timeline.size[0]
|
||||||
|
|
Loading…
Reference in a new issue