support freeimage plugin instalaltion using pip install imageio[freeimage]
See original GitHub issueAt the moment the freeimage plugin needs to be installed using either imageio_download_bin freeimage
or imageio.plugins.freeimage.download()
. This has to be run after the python environment has been set up with pip.
This is not ideal as one may want to be able to install the plugin when setting up the python environment with pip
and not later at run time or in a post-installation script. One would also want the executable to be downloaded in the imageio module folder instead of being download in the user local folder.
In contrast the plugin gdal
can be installed pip install imageio[gdal]
and thus is would be great to support pip install imageio[freeimage]
as well.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
imageio.plugins.freeimage
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/freeimage.py at master - GitHub
Python library for reading and writing image data. ... imageio/imageio/plugins/freeimage.py ... To use this plugin you have to install its backend::.
Read more >Install Freeimage plugin in Starcluster - python - Stack Overflow
I set up a cluster on AWS using Starcluster and I want to run some script that requires loading .jp2 images with the...
Read more >io.plugins freeimage installation issue? - Google Groups
I'm using the freeimage plugin for reading uint8 and float32 Grey- scale TIFF files. ... installation. The readme file from FreeImage didn't help...
Read more >smc.freeimage - PyPI
Python wrapper for FreeImage and LCMS2 libraries. ... compatible with Python 2.6 to 3.3. Performance ... Static build support, no need for "make...
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
Yes we can, but it looses the ability to auto-import. I.e., you’d have to do something like
This would make
import imageio_freeimage
register the plugin in imageio (assuming we add logic for this) and any code below would pick it up and choose it automatically again.That is until I figure out how entry points for packages are supposed to work and we can begin to auto-discover/auto-configure plugins that live in external packages. This would be a generic interface so it wouldn’t be a derivative work and should be resistant to GPL.
Eek! Good point. I think it might. Do we still have an option for external code to register itself as a plugin? If not, I suppose imageio-freeimage would have to be a standalone lib?