From: Michael Tremer Date: Sun, 7 Jan 2024 17:41:41 +0000 (+0000) Subject: avatars: Increase the margin around letters X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=999fe6ae68c8a02901923aa16a5b9464909f87bb;p=ipfire.org.git avatars: Increase the margin around letters Signed-off-by: Michael Tremer --- diff --git a/src/web/users.py b/src/web/users.py index 204c608f..b27c09a2 100644 --- a/src/web/users.py +++ b/src/web/users.py @@ -126,8 +126,8 @@ class AvatarHandler(base.BaseHandler): width += w # Add the margin - width = int(width * 1.5) - height = int(height * 1.5) + width = int(width * 1.75) + height = int(height * 1.75) # Generate an image of the correct size image = PIL.Image.new("RGBA", (width, height), COLOUR_LIGHT)