imageiov2.10.1. The imwrite will raise ValueError when filename include "#".
See original GitHub issueImageio V2.10.1
import imageio
import numpy as np
imageio.imwrite('#1.jpg', np.zeros([512, 512, 3], dtype=np.uint8))
It will raise ValueError: Could not find a format to read the specified file in ImageMode.single_image mode.
But it will good. No raise.
imageio.imwrite('#1.jpg', np.zeros([512, 512, 3], dtype=np.uint8), '.jpg')
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
imageio Documentation - Read the Docs
Imageio can read from filenames, file objects. ... iio.imwrite(gif_path, frames) ... These include classic 2D images, as well as animated and volumetric.
Read more >ImageIO.imwrite "ValueError: Could not find a format to write ...
Is what the type is so that should work fine. So I tried this where I specify the file type: imageio.imsave('images/imagesTest.dng', image ...
Read more >Imageio's user API — imageio 2.8.0 documentation
imwrite () - write an image to the specified uri; mimwrite() - write a series of ... Can be the name of a...
Read more >Getting Started With ImageIO Library in Python - GeeksforGeeks
3) Creating Image file: For creating an image file we have to used imageio.imwrite() method. Syntax: imageio.imwrite(filename,numPy_ndarray, ...
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
@FirefoxMetzger Yes, I am interested. I will open a PR later.
Actually, @One-sixth I like your suggestion the most. Would you like to implement it?