RGB only, add resetUI url

This commit is contained in:
j 2011-10-21 20:36:21 +02:00
commit e1c62e831e
3 changed files with 13 additions and 1 deletions

View file

@ -291,7 +291,7 @@ def average_color(prefix, start=0, end=0):
timelines = sorted(filter(lambda t: t!= '%s%sp.png'%(prefix,height), glob("%s%sp*.png"%(prefix, height))))
for image in timelines:
start_offset = 0
timeline = Image.open(image)
timeline = Image.open(image).convert('RGB')
frames += timeline.size[0]
if start and frames < start:
continue