réparation photo de profil

This commit is contained in:
test 2024-03-21 18:37:47 +01:00
parent 29509b5b26
commit 98422d8259
1 changed files with 1 additions and 1 deletions

View File

@ -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)