Andrew Murray
109ee1569d
Removed I;32L rawmode
2025-10-22 22:24:15 +11:00
Andrew Murray
208bbe95f9
Remove I;32L and I;32B modes
2025-10-22 22:22:00 +11:00
Andrew Murray
55a4901bba
Removed BGR;15 and BGR;16 modes
2025-10-14 20:34:03 +11:00
Andrew Murray
a591000055
Removed BGR;24 and BGR;32
2025-10-14 20:31:42 +11:00
eyedav
84aa4372fd
linter changes
2025-07-19 17:06:44 +02:00
eyedav
9527ce7f8c
change mode structs to enums
...
Structs have better type safety, but they make allocation more difficult, especially when we have multiple Python modules trying to share the same code.
2025-07-19 16:54:32 +02:00
eyedav
d11819ca6b
use mode structs in Unpack.c
2025-07-19 15:55:44 +02:00
Yay295
141c95df9a
use mode structs in TiffDecode.c
2025-07-19 15:54:15 +02:00
Yay295
af3c24e12b
use mode structs in Palette.c
2025-07-19 15:47:10 +02:00
eyedav
e5bc5b4ffa
use mode structs in Pack.c
2025-07-19 15:47:07 +02:00
eyedav
4906285619
add function isModeI16() to check if a mode is an I;16 mode
2025-07-19 15:41:13 +02:00
Yay295
30d4cd0229
use mode structs in JpegDecode.c
2025-07-19 15:39:18 +02:00
eyedav
0df2ed0640
use mode structs in Access.c
2025-07-19 14:53:22 +02:00
eyedav
a12dc30dc0
use mode structs in encode.c and decode.c
2025-07-19 14:46:29 +02:00
Yay295
63a45ad8d0
add special modes
2025-07-19 14:29:08 +02:00
Yay295
cd93629a5c
use a struct for mode names instead of just a string
2025-07-19 14:29:08 +02:00