Fix Image resize + Partial API fix
This commit is contained in:
parent
8c57eb8096
commit
b280647c35
2 changed files with 8 additions and 5 deletions
|
|
@ -114,7 +114,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.Resampling.LANCZOS,
|
||||
)
|
||||
frames.append(frame)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue