-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading FLIF Images Throws Error #5369
Comments
are you able to provide us an image and the reproducing code? |
FLIF file upload is not supported by github, so I've a zip attached with a sample flif image instead. Able to open it using image viewers like ImageGlass that support flif. |
I realize that hte code is likely 2 lines long, but from your original bug report, you seem to be using a package called
Would you be able to reproduce bug in a few lines?
My first instinct is to say that scikit-image relies on other libraries to do the image loading. From what I see jpegxl isn't included on the conda-forge build: I remember I was looking into building it, but I got distracted. |
Thanks for the help. Yes the issue is reproducable with just io.imread(). That brisque error is unrelated because skimage cannot perform rgb2gray specifically as shown in the error output. Brisque will not show error with anything that skimage can read, because brisque only converts/performs value convertions to test the blind quality. Yes, skimage doesn't have support for many upcomming as well as older new image formats. I hope that JXL is supported before it becomes a standard so that experiments are possible with it. Right now we have to create our own reader for it. |
I'm not sure skimage is the right place to expect support for the latest image formats. Have a look at specialized libraries and plugins:
|
Yes you're right. For FLIF I used ImageGlass on Windows 10. Had to add .flif in the settings and was able to read all flif formats. Yes, I guess I'll close the issue for now. |
Current ImageGlass also reports |
Description
I'm trying to read FLIF images for image quality testing. I've used both Scikit.io as well as cv2 for trying to read the image using 'imread()', but it throws an error. Kindly help me on how to do it.
Way to reproduce
Version information
scikit-image==0.18.1
scipy==1.6.2
numpy==1.19.3
Error Output
I've a similar issue with JPEG-XL (.jxl) images and had posted an issue to the developers GitLab here: and they redirected me to get help from here.
Thanks.
The text was updated successfully, but these errors were encountered: