Skip to content

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