From 98422d825920ccf2c673461389cf34b88604516b Mon Sep 17 00:00:00 2001 From: test Date: Thu, 21 Mar 2024 18:37:47 +0100 Subject: [PATCH] =?UTF-8?q?r=C3=A9paration=20photo=20de=20profil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/member/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/member/forms.py b/apps/member/forms.py index 20060085..3d892705 100644 --- a/apps/member/forms.py +++ b/apps/member/forms.py @@ -121,7 +121,7 @@ class ImageForm(forms.Form): frame = frame.crop((x, y, x + w, y + h)) frame = frame.resize( (settings.PIC_WIDTH, settings.PIC_RATIO * settings.PIC_WIDTH), - Image.ANTIALIAS, + Image.LANCZOS, ) frames.append(frame)