Sub call to deprecated pillow API `Image.ANTIALIAS` (#8415)

ANTIALIAS was removed in Pillow 10.0.0
pull/8419/head
SD 2025-06-04 18:33:42 +05:30 committed by GitHub
parent 20687293fe
commit fcc1643c52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ class PromptServer():
if hasattr(Image, 'Resampling'):
resampling = Image.Resampling.BILINEAR
else:
resampling = Image.ANTIALIAS
resampling = Image.Resampling.LANCZOS
image = ImageOps.contain(image, (max_size, max_size), resampling)
type_num = 1