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

Update imageio.imsave -> imageio.v3.imwrite #237

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

mplough-kobold
Copy link
Contributor

This PR updates documentation and code to use imageio's new v3.imwrite rather than the deprecated imsave. It uses the import, import imageio.v3 as iio, as recommended in imageio's narrative documentation.

Fixes #132.

rawpy/_rawpy.pyx Outdated Show resolved Hide resolved
@mplough-kobold
Copy link
Contributor Author

Thanks @letmaik for the ping. I've now updated every use of imageio in the repo to use imageio.v3 -> iio. I also bumped the version of imageio required in dev-requirements.txt so we no longer need to do version checking. That eliminates the need for separate import imageio and import imageio.v3 as iio lines.

@letmaik letmaik merged commit a0b9089 into letmaik:main Sep 12, 2024
43 checks passed
@mplough-kobold mplough-kobold deleted the matt-imageio-imwrite branch September 13, 2024 14:20
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.

imsave() is deprecated
2 participants