Andrew Murray
4fbe28a3a2
Merge branch 'main' into mode_enums
2025-10-15 19:25:58 +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
Andrew Murray
ed164d1bfa
pre-commit fixes
2025-08-26 22:13:45 +10:00
Andrew Murray
0ae2611b44
Copy C palette when merging
2025-08-15 23:22:14 +10:00
wiredfool
adfb66f1d6
Fix Compliation errors from rebase
2025-07-20 10:18:59 +02: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
Yay295
422eb1ebc4
replace some string function usage with imaging mode checks
2025-07-19 16:00:28 +02:00
eyedav
d11819ca6b
use mode structs in Unpack.c
2025-07-19 15:55:44 +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
eyedav
9bf3495898
use mode structs in Convert.c
2025-07-19 15:12:51 +02:00
eyedav
12409e4574
use mode structs in _imaging.c
2025-07-19 14:44:41 +02:00
Andrew Murray
9c9449af34
Removed support for LibTIFF < 4
2025-07-02 00:00:16 +10:00
Andrew Murray
88018c1c2d
Removed id and unsafe_ptrs
2025-07-01 23:57:50 +10:00
Andrew Murray
583f0a50d5
Removed BGR;15, BGR;16 and BGR;24 modes
2025-07-01 23:57:46 +10:00
Hugo van Kemenade
46d969168e
Use PEP 489 multi-phase initialization ( #8983 )
2025-06-25 11:32:37 +01:00
Andrew Murray
8309962926
Replaced ImagingError_OSError with PyErr_SetString
2025-06-16 08:19:27 +10:00
Andrew Murray
cb433ad00a
Replaced ImagingError_Clear with PyErr_Clear
2025-06-16 08:15:08 +10:00
Andrew Murray
7b163cc35d
Use mask in C when drawing wide polygon lines ( #8984 )
2025-06-10 11:46:12 +10:00
pre-commit-ci[bot]
070e1eba62
[pre-commit.ci] pre-commit autoupdate ( #8993 )
2025-06-03 14:08:24 +10:00
Andrew Murray
5000c83bcc
Use multi-phase initialization
2025-05-28 23:50:18 +10:00
Eric Soroos
a9bcd7db88
Fix leak of destination image in ImagingUnsharpMask when an error occurs
2025-05-13 19:50:55 +02:00
wiredfool
5c76e7ec17
Image -> Arrow support ( #8330 )
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-01 09:10:45 +03:00
Andrew Murray
3dbd0e57ba
Added DXT1 encoding
2025-03-17 07:55:24 +11:00
Hugo van Kemenade
a254b8cfeb
Merge pull request #8741 from radarhere/type
2025-02-17 13:29:44 +02:00
Hugo van Kemenade
ff960b8841
Remove debug Image._wedge
2025-02-15 16:35:07 +02:00
Andrew Murray
422c0f607d
Use default tp_flags
2025-02-09 16:03:38 +11:00
Andrew Murray
bfa2d64e0e
Use member names to initialize PyTypeObjects
2025-02-09 16:02:50 +11:00
Hugo van Kemenade
a788ab31ca
Merge pull request #8734 from radarhere/module
2025-02-06 13:25:54 +02:00
Hugo van Kemenade
c73796dc1e
Merge pull request #8733 from radarhere/tuple
2025-02-06 13:19:29 +02:00
Andrew Murray
7924b6a11f
Use member names to initialize modules
2025-02-05 20:20:57 +11:00
Andrew Murray
b19506a499
Simplify Python code by passing tuples to C
2025-02-05 19:12:50 +11:00
Andrew Murray
a7d7a1080e
Removed redundant argument parsing
2025-02-05 18:42:35 +11:00
Aleksandr Karpinskii
e7ae4aaad0
Use Py_RETURN_NONE macro when possible
2025-01-27 18:17:03 +11:00
Andrew Murray
06e02cc1d9
Added compile-time mozjpeg feature flag
2024-12-31 21:44:57 +11:00
Nulano
7885066e5f
PIL.features: Add a compile-time zlib-ng feature flag and version number
2024-10-25 21:30:22 +02:00
Hugo van Kemenade
535bf234c3
Merge pull request #8341 from uploadcare/use-ptr
...
Use ImagingCore.ptr instead of ImagingCore.id
2024-10-07 13:37:44 +03:00
Alexander Karpinsky
8e332eb3b0
Apply suggestions from code review
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-10-07 13:05:13 +04:00
Andrew Murray
04a00d273c
Support all resampling filters when resizing I;16* images
2024-09-28 14:27:40 +10:00
Aleksandr Karpinskii
bc97369039
Increase reference to the image while capsule is alive
2024-09-16 15:45:34 +02:00
Aleksandr Karpinskii
d29fa73ea6
Move new_block to module
2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
5428e3568e
Deprecate ImageCore.id and ImageCore.unsafe_ptrs
2024-09-08 17:30:23 +04:00
Alexander Karpinsky
d8447de24d
Merge pull request #8211 from uploadcare/remove-c-flags
...
Remove all WITH_* flags from _imaging.c and other flags
2024-08-02 16:10:10 +04:00
Aleksandr Karpinskii
302962dae1
Updated comments
...
by @radarhere, lost during rebase
2024-07-28 17:20:14 +04:00
Aleksandr Karpinskii
cfce566d17
codestyle
2024-07-28 16:24:51 +04:00
Aleksandr Karpinskii
a03033e7f3
Remove all WITH_* flags from _imaging.c
2024-07-28 16:24:51 +04:00
pre-commit-ci[bot]
aa8d87696b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-07-19 12:14:54 +00:00
Lysandros Nikolaou
8a54f58ac6
Merge branch 'main' into arena-thread-safe
2024-07-19 14:14:23 +02:00