update indiancine.ma poster script

This commit is contained in:
rolux 2013-03-22 21:02:14 +05:30
parent 857c40c0a3
commit 31834c808a

View file

@ -102,6 +102,16 @@ def render_poster(title, director, year, frame, timeline, poster):
font_size['director']
)
for line in lines:
for y in [-1, 1]:
for x in [-1, 1]:
drawText(
poster_image,
(text_margin + x, offset_top + y),
line,
font_file,
font_size['director'],
getRGB((hue, saturation, poster_lightness['text']))
)
size = drawText(
poster_image,
(text_margin, offset_top),