Skip to content

Raise ValueError if insufficient data is read from DDS RGB file - #9405

Merged
radarhere merged 6 commits into
python-pillow:mainfrom
radarhere:dds
Jun 19, 2026
Merged

Raise ValueError if insufficient data is read from DDS RGB file#9405
radarhere merged 6 commits into
python-pillow:mainfrom
radarhere:dds

Conversation

@radarhere

Copy link
Copy Markdown
Member

Alternative to #9404

In DdsRgbDecoder,

This will then lead to ValueError: not enough image data being raised.