You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran into a number of strange issues with the freeimage plugin and am wondering if it's just me. :)
Side note: Initially, I had trouble using imageio.plugins.freeimage.download() causing SSL certificate errors, so I used the command line alternative imageio_download_bin freeimage.
results in the error: OSError: PNG-FI can not handle the given uri.
From the traceback, it seems to be related to how LegacyPlugin handles the Request
self = <imageio.core.legacy_plugin_wrapper.LegacyPlugin object at 0x106069390>
request = <imageio.core.request.Request object at 0x106068af0>
legacy_plugin = <Format PNG-FI - Portable Network Graphics>
...
if not self._format.can_read(request):
> raise InitializationError(f"`{self._format.name}`" f" can not read `{source}`.")
E imageio.core.request.InitializationError: `PNG-FI` can not read `imageio:chelsea.png`
I tested on a Ubuntu system, too, and there it's working as expected.
My setup:
imageio v2.33.0
installed via conda environment
MacOS 14.1.1
MacBook with M2 chip (arm64)
The text was updated successfully, but these errors were encountered:
aknoerig
changed the title
Trouble using PNG-FI on MacOS
Trouble using PNG-FI on MacOS arm64
Nov 22, 2023
I just ran into a number of strange issues with the freeimage plugin and am wondering if it's just me. :)
Side note: Initially, I had trouble using imageio.plugins.freeimage.download() causing SSL certificate errors, so I used the command line alternative
imageio_download_bin freeimage
.Running something as simple as:
results in the error:
OSError: PNG-FI can not handle the given uri.
From the traceback, it seems to be related to how LegacyPlugin handles the Request
I tested on a Ubuntu system, too, and there it's working as expected.
My setup:
The text was updated successfully, but these errors were encountered: