mergify[bot]
5dddb2ce94
Use enums for Modes and RawModes in C ( #9256 )
2025-10-15 10:58:36 +00:00
Andrew Murray
4fbe28a3a2
Merge branch 'main' into mode_enums
2025-10-15 19:25:58 +11:00
Andrew Murray
78b0e06dbb
Shift bits before making value negative
2025-10-15 19:07:21 +11:00
Hugo van Kemenade
9e3a70a514
Band names for arrow exported images ( #9099 )
2025-10-15 10:56:32 +03:00
Hugo van Kemenade
9042234052
If pasting an image onto itself at a lower position, copy from bottom ( #8882 )
2025-10-15 10:51:31 +03:00
Hugo van Kemenade
1e5237af77
Removed unused access for I;32L and I;32B ( #9238 )
2025-10-15 10:50:51 +03: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
Andrew Murray
2caa504991
ImagingHistogramInstance can use two bands
2025-10-14 18:57:26 +11:00
Andrew Murray
5d3086b01f
Removed unused access for I;32L and I;32B
2025-10-10 22:44:09 +11:00
wiredfool
bd6e70fccd
Check against mode 1 instead of input mode for Chops.c
2025-10-10 12:42:58 +01:00
Hugo van Kemenade
71e6660f5d
Fill alpha channel when quantizing RGB images ( #9133 )
2025-10-10 12:50:38 +03:00
Andrew Murray
a2ef220b32
Cast before additional shifting
2025-10-09 21:01:42 +11:00
Andrew Murray
1d4cda65cf
Cast to UINT32 before shifting bits
2025-10-09 21:01:17 +11:00
pre-commit-ci[bot]
31eee6e5f7
[pre-commit.ci] pre-commit autoupdate ( #9180 )
2025-09-02 07:57:54 +10:00
Andrew Murray
b33254f370
Merge branch 'main' into mode_enums
2025-08-28 08:36:22 +10:00
Hugo van Kemenade
9a2c5160f2
Allow alpha_composite to use LA images ( #9066 )
2025-08-27 17:42:50 +03:00
Andrew Murray
84e89bf5c3
Restored unpacker
2025-08-27 07:07:13 +10:00
Andrew Murray
178b3a70cc
Updated formatting
2025-08-27 06:58:51 +10:00
Andrew Murray
ed164d1bfa
pre-commit fixes
2025-08-26 22:13:45 +10:00
Andrew Murray
0465627f0c
Fill alpha channel when quantizing RGB images
2025-08-05 13:00:33 +10:00
Andrew Murray
726de49229
Merge branch 'main' into mode_enums
2025-08-01 10:25:32 +10:00
Andrew Murray
5fc0cf19c6
Merge branch 'main' into pyarrow_band_names
2025-08-01 10:25:14 +10:00
wiredfool
1a02d4ed5a
lint fixes
2025-07-20 13:01:39 +02:00
wiredfool
adfb66f1d6
Fix Compliation errors from rebase
2025-07-20 10:18:59 +02:00
wiredfool
64556405e2
WIP - Not working in pyarrow
2025-07-19 17:34:39 +02:00
eyedav
84aa4372fd
linter changes
2025-07-19 17:06:44 +02:00
Yay295
0567f064e4
add debug check that all modes and rawmodes are defined
2025-07-19 17:02:05 +02:00
eyedav
aa39e84f7a
use mode enums in Jpeg2KDecode.c
2025-07-19 16:58:08 +02:00
wiredfool
85212dbbb6
Add image band metadata for the 4 channel images
2025-07-19 16:55:52 +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
Yay295
4b07ed52fd
use Mode struct for windows display code
2025-07-19 16:00:28 +02:00
Yay295
16fc61ee65
use RawMode struct for jpegmode
2025-07-19 16:00:28 +02:00
Yay295
422eb1ebc4
replace some string function usage with imaging mode checks
2025-07-19 16:00:28 +02:00
Yay295
579c55ea86
check for null input in findMode() and findRawMode()
2025-07-19 16:00:28 +02:00
Yay295
20a5aeac84
fix findRawMode()
...
and change findMode() to match
2025-07-19 16:00:28 +02:00
Yay295
cacb8b3ce7
define rawmodes
2025-07-19 16:00:28 +02:00
eyedav
c9c50ac678
initialize accessors similar to converters/packers/unpackers
2025-07-19 16:00:26 +02:00
eyedav
d11819ca6b
use mode structs in Unpack.c
2025-07-19 15:55:44 +02:00
Yay295
31118b0019
set pointer to NULL after free
2025-07-19 15:54:15 +02:00
Yay295
39d434b39d
use (void) for empty function parameters
2025-07-19 15:54:15 +02:00
Yay295
141c95df9a
use mode structs in TiffDecode.c
2025-07-19 15:54:15 +02:00
eyedav
e75a0a9c39
use mode structs in Storage.c
2025-07-19 15:54:11 +02:00
eyedav
858b0b3805
use mode structs in Resample.c
2025-07-19 15:47:47 +02:00
Yay295
c80fba3045
use mode structs in Reduce.c
2025-07-19 15:47:10 +02:00
Yay295
fb73d9003e
use mode structs in Quant.c
2025-07-19 15:47:10 +02:00
Yay295
7e48697f82
use mode structs in Point.c
2025-07-19 15:47:10 +02:00
Yay295
2a9d712ceb
use mode structs in Paste.c
2025-07-19 15:47:10 +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