From 37c9b523b218cb0683ab4226a6fd855b04bac969 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 12 Apr 2021 19:54:01 +1000 Subject: [PATCH] Use constant for uncompressed RGB data check --- src/PIL/DdsImagePlugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PIL/DdsImagePlugin.py b/src/PIL/DdsImagePlugin.py index 8af87b53f..a2163605c 100644 --- a/src/PIL/DdsImagePlugin.py +++ b/src/PIL/DdsImagePlugin.py @@ -130,8 +130,8 @@ class DdsImageFile(ImageFile.ImageFile): fourcc = header.read(4) (bitcount,) = struct.unpack("