Merge pull request #63 from outis1one/clDemoe/add-moon-image-locations-ACdGH
Fix missed raw draw.text in render_phase_closeup
This commit is contained in:
+1
-2
@@ -355,8 +355,7 @@ def render_phase_closeup(
|
|||||||
|
|
||||||
if caption:
|
if caption:
|
||||||
draw = ImageDraw.Draw(bg)
|
draw = ImageDraw.Draw(bg)
|
||||||
draw.text((24, output_size[1] - 44), caption, fill=(0, 0, 0))
|
_draw_caption(draw, caption, (22, output_size[1] - 48), output_size[0])
|
||||||
draw.text((22, output_size[1] - 46), caption, fill=(220, 220, 220))
|
|
||||||
|
|
||||||
Path(out_path).parent.mkdir(parents=True, exist_ok=True)
|
Path(out_path).parent.mkdir(parents=True, exist_ok=True)
|
||||||
bg.save(out_path, quality=92)
|
bg.save(out_path, quality=92)
|
||||||
|
|||||||
Reference in New Issue
Block a user