AttributeError: module 'imageio.plugins' has no attribute 'freeimage'
See original GitHub issueHello,
I have started to get CI failures today, most likely due to some changes introduced by imageio 2.11.0.
I usually install the Freeimage plugin as follows:
poetry run python -c "import imageio;imageio.plugins.freeimage.download()"
Which now raises an exception:
AttributeError: module 'imageio.plugins' has no attribute 'freeimage'
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Unable to download 'libfreeimage-3.16.0-osx10.6.dylib' using ...
I am trying to read *.hdr image using imageio python library. I am using the free image plugin for imageio in order to...
Read more >imageio.plugins.freeimage — imageio 2.22.4 documentation
Read/Write images using FreeImage. Backend Library: FreeImage. Note. To use this plugin you have to install its backend: imageio_download_bin freeimage.
Read more >imageio Documentation - Read the Docs
IMAGEIO_FORMAT_ORDER: Determine format preference. E.g. setting this to "TIFF, -FI" will prefer the. FreeImage plugin over the Pillow plugin, but still prefer ...
Read more >README.md · master · Prashant Chaudhari / DeepHDRImaging
Getting the dependencies · clone the repo and follow the instructions to build the wrapper · once it is build, you must install...
Read more >NumFOCUS, Colour 0.3.14 and Colour - Datasets 0.1.0!
We are delighted to announce that Colour has joined the NumFOCUS ... python -c "import imageio;imageio.plugins.freeimage.download()".
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@KelSolaar It does make sense, and I agree.
It wasn’t my intention to break this API, which is why there is a PR to bring it back and also why there was no deprecation warning. I develop against our CI because that’s the best way to check if I broke anything, but that clearly isn’t infallible. However, the CI does get better incrementally and #693 includes a new unit test to check for the availability of
imageio.plugins.freeimage.download()
and prevent this from breaking again.@KelSolaar I’ve added a PR to bring back
We will have to internally discuss the solution I’ve chosen, so it might not be merged immediately. Either way, a solution has been identified and is on its way into one of the next releases 😃 In the meantime you can of course rely on the workaround I posted above.