Skip to content

PY312-150: Pillow 10 compat — replace removed Image.ANTIALIAS - #2

Open
CarmelTsadokSingular wants to merge 1 commit into
make-read-chunk-to-return-on-errorfrom
PY312-150-upgrade-singular-moviepy
Open

PY312-150: Pillow 10 compat — replace removed Image.ANTIALIAS#2
CarmelTsadokSingular wants to merge 1 commit into
make-read-chunk-to-return-on-errorfrom
PY312-150-upgrade-singular-moviepy

Conversation

@CarmelTsadokSingular

Copy link
Copy Markdown

Pillow 10 removed the Image.ANTIALIAS alias. The PIL resize fallback (used when cv2 is unavailable) now resolves the resampling filter once: Image.Resampling.LANCZOS, falling back to Image.ANTIALIAS only on pre-9.1 Pillow. Bump version 1.0.3.4 -> 1.0.3.5.

Pillow 10 removed the Image.ANTIALIAS alias. Switch the PIL resize
fallback (used when cv2 is unavailable) to Image.LANCZOS — the same
filter, present in every Pillow from 2.7 through 10.x and never
deprecated, so no version branching is needed. Bump 1.0.3.4 -> 1.0.3.5.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@CarmelTsadokSingular
CarmelTsadokSingular force-pushed the PY312-150-upgrade-singular-moviepy branch from 29468f6 to cf4f6b0 Compare July 21, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants