merge: fix P1 - add missing I;16B/I;16L PIL modes to bit depth detection

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
CoCo
2026-03-04 21:49:53 +00:00
co-authored by Claude Opus 4.6
+3 -1
View File
@@ -120,7 +120,9 @@ class ImageLoader:
"""
mode_to_bit_depth = {
"1": 1, "L": 8, "P": 8, "RGB": 8, "RGBA": 8,
"LA": 8, "PA": 8, "I;16": 16, "I": 32, "F": 32
"LA": 8, "PA": 8,
"I;16": 16, "I;16B": 16, "I;16L": 16,
"I": 32, "F": 32
}
if original_mode is not None: