timelines should be RGB

This commit is contained in:
j 2011-10-21 20:27:31 +02:00
parent a4fd27c711
commit 90cf974ba0
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ def loadTimeline(timeline_prefix, height=64):
width = f.size[0]
f = Image.open(files[-1])
duration = f.size[0] + (len(files)-1)*width
timeline = Image.new("RGBA", (duration, height))
timeline = Image.new("RGB", (duration, height))
pos = 0
for f in files:
part = Image.open(f)
@ -136,7 +136,7 @@ def makeTiles(timeline_prefix, height=16, width=3600):
part_step = 60
output_width = width
width = len(files) * part_step
timeline = Image.new("RGBA", (width, height))
timeline = Image.new("RGB", (width, height))
pos = 0
for f in sorted(files):