-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
What did you do?
Attempted to read the attached DDS image.
What did you expect to happen?
Expected it to render in my tkinter GUI.
What actually happened?
Received the following error:
NotImplementedError: Unimplemented pixel format b'\x00\x00\x00\x00'
What are your OS, Python and Pillow versions?
- OS: Windows 11
- Python: 3.11 64-bit
- Pillow: 10.0.1
from PIL import ImageTk
with open ("test.dds", "rb") as f:
data = f.read()
image = ImageTk.PhotoImage(data=data)Additional notes
I'm guessing the version of DDS that I am attempting to render is not supported solely based off of the error message. I am passing byte data and not the files themselves, but am unsure of how else to get this to render. Attempted to use Pillow, but no luck.
Attached zip with dds image inside: