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

Support all resampling filters when resizing I;16* images #8422

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

radarhere
Copy link
Member

Resolves #8333 by allowing resize() on I;16, I;16L, I;16B and I;16N images to work with resampling filters other than NEAREST.

Given the original intention to use BICUBIC as the default resampling for all modes, I've also changed the default resampling for I;16* modes to BICUBIC here. This will only leave the deprecated modes BGR;15, BGR;16 and BGR;24 using NEAREST by default.

@hugovk hugovk merged commit c9c8d45 into python-pillow:main Oct 1, 2024
50 checks passed
@radarhere radarhere deleted the resize_i16 branch October 1, 2024 11:05
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.

Resize not allowing filter parameter on 16 bit image
2 participants