batch colors
This commit is contained in:
parent
0191fc1769
commit
1770544a59
1 changed files with 10 additions and 1 deletions
|
@ -45,7 +45,16 @@ def render_poster(data, poster):
|
||||||
i = 600
|
i = 600
|
||||||
elif type == "voice over":
|
elif type == "voice over":
|
||||||
i = 300
|
i = 300
|
||||||
|
if '1-' in director:
|
||||||
|
i - 320
|
||||||
|
if '2-' in director:
|
||||||
|
i - 340
|
||||||
|
if '3-' in director:
|
||||||
|
i - 360
|
||||||
|
if '4-' in director:
|
||||||
|
i - 380
|
||||||
|
if '5-' in director:
|
||||||
|
i - 490
|
||||||
if i < 127:
|
if i < 127:
|
||||||
color = (127, i, 0)
|
color = (127, i, 0)
|
||||||
elif i < 254:
|
elif i < 254:
|
||||||
|
|
Loading…
Reference in a new issue