diff --git a/src/PIL/DdsImagePlugin.py b/src/PIL/DdsImagePlugin.py index c0d546b31..460b209fc 100644 --- a/src/PIL/DdsImagePlugin.py +++ b/src/PIL/DdsImagePlugin.py @@ -449,35 +449,53 @@ class DdsImageFile(ImageFile.ImageFile): # ignoring flags which pertain to volume textures and cubemaps (dxgi_format,) = struct.unpack("