forked from 0x2620/pandora
only paste into small timeline if it exists
This commit is contained in:
parent
750633eb7e
commit
cf0fcdbc5f
1 changed files with 10 additions and 9 deletions
|
@ -75,6 +75,7 @@ def join_tiles(source_paths, durations, target_path):
|
||||||
data['target_images']['large'] = data['target_images']['large'].resize(
|
data['target_images']['large'] = data['target_images']['large'].resize(
|
||||||
(w, small_tile_h), Image.ANTIALIAS
|
(w, small_tile_h), Image.ANTIALIAS
|
||||||
)
|
)
|
||||||
|
if data['target_images']['small']:
|
||||||
data['target_images']['small'].paste(
|
data['target_images']['small'].paste(
|
||||||
data['target_images']['large'], (small_tile_x, 0)
|
data['target_images']['large'], (small_tile_x, 0)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue