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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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.

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
1 participant