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

Pillow is spewing some deprecation warnings Resampling.BICUBIC #29

Open
SergioRAgostinho opened this issue Jul 12, 2022 · 0 comments
Open

Comments

@SergioRAgostinho
Copy link

image-matching-toolbox/immatch/utils/data_io.py:31: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.

Here is the offending line
https://github.com/GrumpyZhou/image-matching-toolbox/blob/main/immatch/utils/data_io.py#L31

The Resampling enum was added in Pillow 9.1.0. Prior to this, to resided as a constant at top level.

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

No branches or pull requests

1 participant