timelines should be RGB
This commit is contained in:
parent
a4fd27c711
commit
90cf974ba0
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue