From df7d0845d5a4311f05e86e6469ee75052da8c46d Mon Sep 17 00:00:00 2001 From: Jace Browning Date: Mon, 15 Jun 2015 19:26:22 -0400 Subject: [PATCH] Adjust bottom text offset based on size --- memegen/domain/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memegen/domain/image.py b/memegen/domain/image.py index 778e36cc..fbece5ae 100644 --- a/memegen/domain/image.py +++ b/memegen/domain/image.py @@ -40,7 +40,7 @@ def make_meme(topString, bottomString, filename): # find bottom centered position for bottom text bottomTextPositionX = (imageSize[0] / 2) - (bottomTextSize[0] / 2) - bottomTextPositionY = imageSize[1] - bottomTextSize[1] + bottomTextPositionY = imageSize[1] - bottomTextSize[1] - bottomTextSize[1] / 4 bottomTextPosition = (bottomTextPositionX, bottomTextPositionY) draw = ImageDraw.Draw(img)