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
pre-commit-ci[bot]
e144707520
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-07-16 19:32:02 +00:00
Lysandros Nikolaou
98b173928a
Address more feedback; don't unlock around sizeof
2024-07-16 21:31:29 +02:00
Lysandros Nikolaou
ea7b5c5b66
Lock around usages of imaging memory arenas
2024-07-16 16:43:49 +02:00
pre-commit-ci[bot]
2973b041c7
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-07-16 12:58:04 +00:00
Lysandros Nikolaou
9c576d63c3
Fix refcounts after porting to GetItemRef & better error checking
2024-07-13 12:24:02 +02:00
Hugo van Kemenade
69f967301d
Call PyUnstable_Module_SetGIL() to indicate support of running with GIL disabled
2024-07-08 14:40:35 +03:00
Hugo van Kemenade
9c7ba240e9
Merge pull request #7966 from radarhere/palette
...
Support unpacking more rawmodes to RGBA palettes
2024-06-23 01:43:41 -06:00
Andrew Murray
985e605381
Renamed transform2 to transform
2024-06-08 19:06:46 +10:00
Andrew Murray
2dedeef832
Support unpacking more rawmodes to RGBA palette
2024-05-22 20:05:07 +10:00
pre-commit-ci[bot]
617e7295a8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-25 12:51:24 +00:00
Yay295
4a4eb0f3ee
remove semicolon after function definition
2024-04-23 01:08:42 -05:00
Yay295
c56c8901b7
handle I;16 native endianness on big-endian machine
2024-03-11 11:37:48 -05:00
Nulano
0eb661b889
do not crop ImageFont glyphs from negative coordinates
2024-01-01 11:35:42 +01:00
Andrew Murray
492e5b0e0a
Do not set default value for unused variable
2024-01-01 16:18:26 +11:00
Andrew Murray
6cad0d62e7
Do not crop again if glyph is the same as the previous one
2024-01-01 16:14:45 +11:00
Andrew Murray
8676cbd4e7
Do not try and crop glyphs from outside of source ImageFont image
2024-01-01 16:13:24 +11:00
Andrew Murray
ceca12e876
Restored comment
2023-10-07 07:00:29 +00:00
Andrew Murray
d9283fd1f8
Use default value
...
Co-authored-by: Alexander Karpinsky <homm86@gmail.com>
2023-10-07 17:09:17 +11:00
Andrew Murray
57c1cf603e
Fixed may be used uninitialized warning
2023-10-07 01:15:04 +11:00
Andrew Murray
4e7f61f459
Merge branch 'main' into bgr
2023-10-06 18:50:25 +11:00
Andrew Murray
c167d7a269
Allow GaussianBlur and BoxBlur to accept a sequence of x and y radii
2023-08-12 12:09:20 +10:00
Andrew Murray
9bd574058e
Support BGR;15, BGR;16 and BGR;24 in putdata
2023-07-26 20:09:40 +10:00
Andrew Murray
3230270aa7
Added BGR;15, BGR;16 and BGR;24 access
2023-07-26 20:09:40 +10:00
Yay295
e7398c7888
update PyTypeObject slot names
...
tp_print was renamed to tp_vectorcall_offset with Python 3.8, and tp_compare was renamed to tp_as_async with Python 3.5.
tp_size has always been tp_basicsize; I don't know why that one was wrong.
2023-07-02 00:52:08 -05:00
Andrew Murray
17b19b5668
Merge branch 'main' into apng
2023-06-14 11:26:42 +10:00
Andrew Murray
aeb6e9909e
Removed unused argument
2023-06-10 15:57:05 +10:00