From 6f28a0c009affcfb8f67c4bde921aa7d6684a7ac Mon Sep 17 00:00:00 2001 From: Yay295 Date: Thu, 11 Apr 2024 00:40:11 -0500 Subject: [PATCH] Fix TGA rawmode BGR;15 --- src/PIL/TgaImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/TgaImagePlugin.py b/src/PIL/TgaImagePlugin.py index f16f075df..ebf9a1b80 100644 --- a/src/PIL/TgaImagePlugin.py +++ b/src/PIL/TgaImagePlugin.py @@ -36,7 +36,7 @@ MODES = { (3, 1): "1", (3, 8): "L", (3, 16): "LA", - (2, 16): "BGR;5", + (2, 16): "BGR;15", (2, 24): "BGR", (2, 32): "BGRA", }