forked from 0x2620/pandora
fix short timelines for multipart videos fixes #2985
This commit is contained in:
parent
48587d295c
commit
b566527483
1 changed files with 2 additions and 0 deletions
|
@ -181,6 +181,8 @@ def join_tiles(source_paths, durations, target_path):
|
|||
target_w += large_tile_w
|
||||
save_and_open(data)
|
||||
|
||||
if data['full_tile_offset'] < full_tile_w:
|
||||
data['target_images']['full'] = data['target_images']['full'].crop((0,0, data['full_tile_offset'], large_tile_h))
|
||||
# save full timelines
|
||||
image_file = '%stimeline%s%dp.jpg' % (target_path, full_tile_mode, large_tile_h)
|
||||
data['target_images']['full'].save(image_file)
|
||||
|
|
Loading…
Reference in a new issue