timelines without folders
This commit is contained in:
parent
aa24971401
commit
53436967ed
1 changed files with 1 additions and 1 deletions
|
@ -78,6 +78,7 @@ def join_timelines(timelines, prefix):
|
||||||
height = 64
|
height = 64
|
||||||
width = 1500
|
width = 1500
|
||||||
|
|
||||||
|
ox.makedirs(os.path.dirname(prefix))
|
||||||
for f in glob('%s*'%prefix):
|
for f in glob('%s*'%prefix):
|
||||||
os.unlink(f)
|
os.unlink(f)
|
||||||
|
|
||||||
|
@ -105,7 +106,6 @@ def join_timelines(timelines, prefix):
|
||||||
timeline_name = '%s%sp%04d.png' % (prefix, height, i)
|
timeline_name = '%s%sp%04d.png' % (prefix, height, i)
|
||||||
timeline.crop((0, 0, pos, height)).save(timeline_name)
|
timeline.crop((0, 0, pos, height)).save(timeline_name)
|
||||||
|
|
||||||
ox.makedirs(os.path.dirname(prefix))
|
|
||||||
makeTiles(prefix, 16, 3600)
|
makeTiles(prefix, 16, 3600)
|
||||||
makeTimelineOverview(prefix, 1920, height=16)
|
makeTimelineOverview(prefix, 1920, height=16)
|
||||||
makeTimelineOverview(prefix, 1920, height=64)
|
makeTimelineOverview(prefix, 1920, height=64)
|
||||||
|
|
Loading…
Reference in a new issue