-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
What did you do?
Tried to open a QOI image ( https://qoiformat.org/ ) with Pillow (Image.open("picture.qoi"))
The picture is in this zip file (a 2-seconds stick-man) : picture.zip
What did you expect to happen?
I would love Pillow to recognize the file type and open the image.
What actually happened?
Pillow can't recognize the QOI format.
>>> from PIL import Image
>>> Image.open("picture.qoi")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.10/site-packages/PIL/Image.py", line 3186, in open
raise UnidentifiedImageError(
PIL.UnidentifiedImageError: cannot identify image file 'picture.qoi'What are your OS, Python and Pillow versions?
- OS: Manjaro Linux
- Python: 3.10.8
- Pillow: 9.3.0
To replicate
from PIL import Image
Image.open("picture.qoi")Reactions are currently unavailable