diff --git a/avatar/conf.py b/avatar/conf.py index e3a49fe..caf3da9 100644 --- a/avatar/conf.py +++ b/avatar/conf.py @@ -5,7 +5,7 @@ from PIL import Image class AvatarConf(AppConf): DEFAULT_SIZE = 80 - RESIZE_METHOD = Image.ANTIALIAS + RESIZE_METHOD = Image.LANCZOS STORAGE_DIR = "avatars" PATH_HANDLER = "avatar.models.avatar_path_handler" GRAVATAR_BASE_URL = "https://www.gravatar.com/avatar/" diff --git a/docs/index.txt b/docs/index.txt index 41ae81a..4309714 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -211,7 +211,7 @@ appear on the site. Listed below are those settings: .. py:data:: AVATAR_RESIZE_METHOD The method to use when resizing images, based on the options available in - Pillow. Defaults to ``Image.ANTIALIAS``. + Pillow. Defaults to ``Image.LANCZOS``. .. py:data:: AVATAR_STORAGE_DIR