Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Image.ANTIALIAS into Image.LANCZOS #1028

Merged
merged 1 commit into from
Dec 4, 2014
Merged

Rename Image.ANTIALIAS into Image.LANCZOS #1028

merged 1 commit into from
Dec 4, 2014

Conversation

homm
Copy link
Member

@homm homm commented Nov 27, 2014

When Image.ANTIALIAS was initially added, it was the only high-quality filter based on convolutions. Its name was supposed to say that.

Starting from Pillow 2.7 all resize method are based on convolutions. No more difference between them except filters. And filter names are "bilinear", "bicubic", "lanczos". Not "antialias", because all of them are antialias from now.

Of course we should leave ANTIALIAS constant for backward compatibility and make it an alias (sorry for this pun).

wiredfool added a commit that referenced this pull request Dec 4, 2014
Rename Image.ANTIALIAS to Image.LANCZOS
@wiredfool wiredfool merged commit 2d2293b into python-pillow:master Dec 4, 2014
@homm homm deleted the resize-constants branch April 27, 2016 21:42
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