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
(sam) anwai@anwai:~/data/test$ python
Python 3.10.0 | packaged by conda-forge | (default, Nov 20 2021, 02:24:10) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license"for more information.
>>> import imageio.v3 as imageio
>>> import subprocess
>>> subprocess.run(["wget", "https://owncloud.gwdg.de/index.php/s/3gAgXzzObADpAoL/download", "-O", "data.tif"])
--2024-11-13 18:34:14-- https://owncloud.gwdg.de/index.php/s/3gAgXzzObADpAoL/download
Resolving owncloud.gwdg.de (owncloud.gwdg.de)... 134.76.23.45
Connecting to owncloud.gwdg.de (owncloud.gwdg.de)|134.76.23.45|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 215312 (210K) [image/tiff]
Saving to: ‘data.tif’
data.tif 100%[================================================================>] 210,27K --.-KB/s in 0,02s
2024-11-13 18:34:15 (12,5 MB/s) - ‘data.tif’ saved [215312/215312]
CompletedProcess(args=['wget', 'https://owncloud.gwdg.de/index.php/s/3gAgXzzObADpAoL/download', '-O', 'data.tif'], returncode=0)
>>> image = imageio.imread("data.tif")
>>> image.shape
(512, 512)
Additional context
Seems like the package was removed in this PR (#1425).
Also, installing this using pip or conda (using pip install imagecodecs / conda install -c conda-forge imagecodecs) does not seem to resolve the issue.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
🐛 Bug
TLDR error:
imagecodecs
is not found bytifffile
for decoding input images.Error trace:
To Reproduce
Expected behavior
This works seamlessly in my local system.
Additional context
Seems like the package was removed in this PR (#1425).
Also, installing this using
pip
orconda
(usingpip install imagecodecs
/conda install -c conda-forge imagecodecs
) does not seem to resolve the issue.Thanks in advance!
The text was updated successfully, but these errors were encountered: