Yay295
3b33a2c1bb
add Mode.c as a dependency for _imagingft.c and _webp.c
2024-10-28 10:17:02 -05:00
Yay295
4f9b68c192
use more mode enums in decode.c
2024-10-28 10:17:02 -05:00
Yay295
cb682445cf
use mode enums in _imagingft.c
2024-10-28 10:17:02 -05:00
Yay295
268b0905e6
use mode enums in Jpeg2KDecode.c
2024-10-28 10:17:01 -05:00
Yay295
5f1858c835
use mode enums in _webp.c
2024-10-28 10:17:01 -05:00
Yay295
9c02ccd0db
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.
2024-10-28 10:17:01 -05:00
Yay295
20986c82aa
use Mode struct for windows display code
2024-10-28 10:16:39 -05:00
Yay295
e53aa29d20
use RawMode struct for jpegmode
2024-10-28 10:16:39 -05:00
Yay295
7bd8041087
replace some string function usage with imaging mode checks
2024-10-28 10:16:38 -05:00
Yay295
05d7b313c6
check for null input in findMode() and findRawMode()
2024-10-28 10:16:38 -05:00
Yay295
5afeb11f9a
fix findRawMode()
...
and change findMode() to match
2024-10-28 10:16:38 -05:00
Yay295
b594a756da
define rawmodes
2024-10-28 10:16:37 -05:00
Yay295
d46284368a
initialize accessors similar to converters/packers/unpackers
2024-10-28 10:16:37 -05:00
Yay295
1b1f250b74
use mode structs in map.c
2024-10-28 10:16:37 -05:00
Yay295
ebbe5d844b
use mode structs in Unpack.c
2024-10-28 10:16:34 -05:00
Yay295
43473101cf
set pointer to NULL after free
2024-10-28 10:07:19 -05:00
Yay295
7cb3efc762
use (void) for empty function parameters
2024-10-28 10:07:18 -05:00
Yay295
91776f2589
use mode structs in TiffDecode.c
2024-10-28 10:07:18 -05:00
Yay295
6f0ce3e876
use mode structs in Storage.c
2024-10-28 10:07:18 -05:00
Yay295
9f28f12eff
use mode structs in Resample.c
2024-10-28 10:07:17 -05:00
Yay295
adf97ece55
use mode structs in Reduce.c
2024-10-28 10:07:17 -05:00
Yay295
00f6ecbfce
use mode structs in Quant.c
2024-10-28 10:07:17 -05:00
Yay295
f2fac0b39e
use mode structs in Point.c
2024-10-28 10:07:17 -05:00
Yay295
26b8178f08
use mode structs in Paste.c
2024-10-28 10:07:16 -05:00
Yay295
c587ad10ab
use mode structs in Palette.c
2024-10-28 10:07:16 -05:00
Yay295
c906098fec
use mode structs in Pack.c
2024-10-28 10:07:16 -05:00
Yay295
cf4a42f1a0
add function isModeI16() to check if a mode is an I;16 mode
2024-10-28 10:07:15 -05:00
Yay295
e598741876
use mode structs in Matrix.c
2024-10-28 10:07:15 -05:00
Yay295
68028fd513
use mode structs in JpegEncode.c
2024-10-28 10:07:15 -05:00
Yay295
6f127e0f53
use mode structs in JpegDecode.c
2024-10-28 10:07:11 -05:00
Yay295
5836c00d8d
use mode structs in Jpeg2KEncode.c
2024-10-28 09:58:28 -05:00
Yay295
56e1b3c8ef
use mode structs in Jpeg2KDecode.c
2024-10-28 09:58:28 -05:00
Yay295
baa95d6f44
use mode structs in Histo.c
2024-10-28 09:58:27 -05:00
Yay295
b7c3c3e2b9
use mode structs in GetBBox.c
2024-10-28 09:58:27 -05:00
Yay295
d8f9bfbbbe
use mode structs in Geometry.c
2024-10-28 09:58:27 -05:00
Yay295
90ea0609df
use mode structs in Filter.c
2024-10-28 09:58:26 -05:00
Yay295
d2e691c788
use mode structs in Fill.c
2024-10-28 09:58:26 -05:00
Yay295
e6d2f9a642
use mode structs in File.c
2024-10-28 09:58:26 -05:00
Yay295
bc1f506d5a
use mode structs in Effects.c
2024-10-28 09:58:25 -05:00
Yay295
2beb5fa67c
use mode structs in Draw.c
2024-10-28 09:58:25 -05:00
Yay295
da808ce436
use mode structs in Convert.c
2024-10-28 09:58:25 -05:00
Yay295
5197ad775c
use mode structs in Chops.c
2024-10-28 09:58:24 -05:00
Yay295
08575c682e
use mode structs in BoxBlur.c
2024-10-28 09:58:24 -05:00
Yay295
74b112dd55
use mode structs in Blend.c
2024-10-28 09:58:24 -05:00
Yay295
58dedbefd6
use mode structs in Bands.c
2024-10-28 09:58:23 -05:00
Yay295
b8cead39b3
use mode structs in AlphaComposite.c
2024-10-28 09:58:23 -05:00
Yay295
820f22c120
use mode structs in Access.c
2024-10-28 09:58:23 -05:00
Yay295
97e29dcd2d
use mode structs in encode.c and decode.c
2024-10-28 09:58:23 -05:00
Yay295
7a7e8380cb
use mode structs in tkImaging.c
2024-10-28 09:58:22 -05:00
Yay295
cb62dbbd24
use mode structs in _imaging.c
2024-10-28 09:58:22 -05:00