Commit Graph

18770 Commits

Author SHA1 Message Date
Andrew Murray
608a5e83c0 Updated harfbuzz to 9.0.0, except on manylinux2014 2024-09-09 12:56:28 +10:00
Hugo van Kemenade
012270d1c9
Merge pull request #8360 from python-pillow/renovate/github-actions 2024-09-08 22:53:58 +03:00
Aleksandr Karpinskii
4d271c8ec8 import_frame for anim_encoder_add 2024-09-08 18:29:38 +04:00
Aleksandr Karpinskii
0962b468b7 ImagingSectionEnter for WebPAnimEncoder 2024-09-08 18:29:38 +04:00
Aleksandr Karpinskii
8bb3134b1d call _webp.WebPEncode with ptr 2024-09-08 18:29:38 +04:00
Aleksandr Karpinskii
0a8e6dbedb Use im.has_transparency_data for webp._save_all
Also:
remove _VALID_WEBP_MODES and _VALID_WEBP_LEGACY_MODES consts
RGBX is not faster RGB since demands more bandwidth
Do not convert to str paths in tests
2024-09-08 18:29:38 +04:00
Alexander Karpinsky
bd14915364
Merge pull request #144 from radarhere/use-ptr
Use CapsuleType hint in Python >= 3.13
2024-09-08 18:03:26 +04:00
Alexander Karpinsky
4318834775
Merge branch 'use-ptr' into use-ptr 2024-09-08 17:59:35 +04:00
Aleksandr Karpinskii
d29fa73ea6 Move new_block to module 2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
934ae12ed5 rename PyCapsule -> Capsule 2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
882ac783eb Use PyCapsule in _imagingft 2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
ee65b305b1 Use PyCapsule in _imagingtk 2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
cb3a4e6a00 Remove legacy 1-bit api, fix AttributeError
PytestUnraisableExceptionWarning: Exception ignored in: <function PhotoImage.__del__>
AttributeError: 'PhotoImage' object has no attribute '_PhotoImage__photo'
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
Aleksandr Karpinskii
7f48567002 Use s# in PyArg_ParseTuple 2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
f916b5dc87 Use PyCapsule in _imagingmorph 2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
56bc6a1a71 Use PyCapsule in _imagingcms 2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
fe002a7260 Use PyCapsule in _imagingmath 2024-09-08 17:30:23 +04:00
Andrew Murray
72bc56b319
Merge branch 'main' into imagecms_core 2024-09-08 23:21:25 +10:00
Hugo van Kemenade
f30eefaae2
Merge pull request #8354 from radarhere/type_hint 2024-09-08 16:19:08 +03:00
Hugo van Kemenade
2f13c4588d
Fix underline
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-08 16:17:13 +03:00
renovate[bot]
8c738f6427
Update deadsnakes/action action to v3.2.0 2024-09-08 13:00:15 +00:00
Hugo van Kemenade
1f2de52a6c
Group 11.0.0 deprecations (#127) 2024-09-08 15:07:22 +03:00
Andrew Murray
6231453895 Group 11.0.0 deprecations 2024-09-08 21:53:08 +10:00
Andrew Murray
89c790f2b0 Update CHANGES.rst [ci skip] 2024-09-08 21:38:21 +10:00
Andrew Murray
579a5a2ed1
Merge pull request #8355 from radarhere/unused_tiff
Removed unused TiffImagePlugin IFD_LEGACY_API
2024-09-08 21:36:44 +10:00
Andrew Murray
8b3ef3784b Moved Buffer into _typing 2024-09-08 08:30:30 +10:00
Andrew Murray
547832fd59 Use tempfile.NamedTemporaryFile 2024-09-07 19:49:21 +10:00
Andrew Murray
a3d23165b9 Update CHANGES.rst [ci skip] 2024-09-07 19:40:29 +10:00
Hugo van Kemenade
2c02146cf4
Use type hints and fix CVE role
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-07 12:32:30 +03:00
Hugo van Kemenade
f06b851616
Merge pull request #8350 from zakajd/jamil/doubleexif 2024-09-07 12:31:19 +03:00
Andrew Murray
dbe979d032 Sort extensions alphabetically in error message 2024-09-07 19:09:01 +10:00
Andrew Murray
e14072e973 Added further detail 2024-09-07 19:08:07 +10:00
Andrew Murray
1105256f2b Added type hints to setup.py 2024-09-07 18:25:44 +10:00
Hugo van Kemenade
a838da7406
Merge pull request #8002 from Yay295/patch-1
Use (void) for empty function parameters
2024-09-07 08:37:50 +03:00
Andrew Murray
a6ca45aea6 Use (void) to indicate no parameters 2024-09-07 00:01:25 -05:00
Andrew Murray
6f9128bfaf Updated type hint 2024-09-07 14:32:46 +10:00
Andrew Murray
8dcf229ea1 Merge branch 'main' into use-ptr 2024-09-07 14:24:18 +10:00
Andrew Murray
de3c6fa295 Support converting more modes to LAB by converting to RGBA first 2024-09-07 12:14:30 +10:00
Jamil Zakirov
2f25dbce06
Merge branch 'main' into jamil/doubleexif 2024-09-06 20:12:33 +03:00
Hugo van Kemenade
d3c1d99d00 Deprecate support for FreeType 2.9.0 2024-09-06 14:51:30 +03:00
Andrew Murray
93a0bf0276 Added type hints to TiffImagePlugin _save 2024-09-06 21:33:30 +10:00
Andrew Murray
94315f87c3 Removed unused IFD_LEGACY_API 2024-09-06 19:13:35 +10:00
Andrew Murray
06c331af5d Added type hints to frombuffer 2024-09-06 15:16:59 +10:00
Andrew Murray
23c461e431 Handle duplicate exif header
Co-authored-by: Jamil Zakirov <djamilzak@gmail.com>
2024-09-06 11:56:06 +10:00
Andrew Murray
a6f5f4dd43 Deprecate setting size to (width, height, scale) 2024-09-06 11:42:56 +10:00
Andrew Murray
e625f73119 Added scale argument to IcnsImageFile load() 2024-09-06 11:40:45 +10:00
Hugo van Kemenade
6377321625
Merge pull request #8351 from radarhere/type_hint 2024-09-05 17:35:55 +03:00
Hugo van Kemenade
a2be72d8dd
Merge pull request #8349 from AryazE/type_comparison 2024-09-05 17:34:49 +03:00
Andrew Murray
31638ee29a Added type hints 2024-09-05 23:14:17 +10:00