PNG-FI format error
See original GitHub issueHello, I’m trying to read a file according to some instructions.
imageio.imread('filename.png', format='PNG-FI')
Versions I’ve tried with are 2.14.1 and 2.21.1
Both times I receive the following stacktrace:
Traceback (most recent call last):
File "/home/user/anaconda3/lib/python3.8/site-packages/imageio/core/imopen.py", line 163, in imopen
return loader(request, **kwargs)
File "/home/user/anaconda3/lib/python3.8/site-packages/imageio/core/imopen.py", line 152, in loader
return config.plugin_class(request, **kwargs)
File "/home/user/anaconda3/lib/python3.8/site-packages/imageio/config/plugins.py", line 108, in partial_legacy_plugin
return LegacyPlugin(request, legacy_plugin)
File "/home/user/anaconda3/lib/python3.8/site-packages/imageio/core/legacy_plugin_wrapper.py", line 68, in __init__
raise InitializationError(
imageio.core.request.InitializationError: `PNG-FI` can not read `/home/user/filename.png`.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/user/anaconda3/lib/python3.8/site-packages/imageio/core/functions.py", line 159, in imread
with imopen(uri, "ri", plugin=format) as file:
File "/home/user/anaconda3/lib/python3.8/site-packages/imageio/core/imopen.py", line 181, in imopen
raise err_type(err_msg) from err_from
RuntimeError: `PNG-FI` can not handle the given uri.
My colleague runs the same line on the same file with the same imageio version and it works. I tried installing imageio into a new conda environment but I always get this error. I didn’t find anything about this PNG-FI format, do you have an idea why I receive this error? Thank you very much
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Why mat-error not get displayed inside mat-form field in ...
Yes, mat-error does not show up by default. It only shows when the input is touched . But, luckily you can override this...
Read more >Error on page in IE8 [#2163063] | Drupal.org
When viewing in IE8 the page finishes with Error on page. The error details below. Webpage error details User Agent: Mozilla/4.0 (compatible ...
Read more >PNGFI | Terms and conditions - AliveShoes
PNGFI is a unique limited edition custom shoe concept designed by Pngfi. ... Agreement: the Subscription Form and these Terms and Conditions ...
Read more >[SOLVED] 1 error 1. image format not recognized, allowed ...
I have tried to upload a Product Image in every format but It keeps giving me the same error.Any idea's?
Read more >Automated Malware Analysis Executive Report for https://formcrafts ...
Sample : Cookbook: browseurl.jbs. System description: Windows 7 SP1 (with ... in binary or memory: https://formcrafts.com/images/home/form-order-2.pngfi.
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
We could add a reference to the supported formats list to the docstring of
plugin
which might make it more obvious where to look for this information. I’ll see if I can add that once I have some spare time.you’re right, it is there! I guess I had a strong prior to some docstring that would explain parameter args and hence overlooked the result. Thanks for the library 😃