Commit Graph

221 Commits

Author SHA1 Message Date
Andrew Murray
fc1680103d
Merge branch 'main' into convert_mode 2025-09-04 21:19:41 +10:00
Hugo van Kemenade
2ab301dcc9
Drop support for Python 3.9 (#9119)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-08-02 12:02:20 +00:00
Andrew Murray
5a3d3c6f28
Merge branch 'main' into convert_mode 2025-07-08 07:48:56 +10:00
Hugo van Kemenade
e7a53ba19b
Do not update palette for L mode GIF frame (#8924) 2025-06-30 15:24:18 +03:00
renovate[bot]
f3b05d6fab
Update dependency mypy to v1.16.0 (#8991)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-07 11:07:21 +10:00
Andrew Murray
d8afcb762f Do not update palette for L mode frame 2025-04-23 23:09:08 +10:00
Andrew Murray
5ae44e4438 Merge branch 'main' into convert_mode 2025-03-31 08:32:11 +11:00
Andrew Murray
4236b583a1 Do not import TYPE_CHECKING 2025-03-30 22:16:16 +11:00
Andrew Murray
03dc994baa
Check that _fp type is not DeferredError before use (#8640) 2025-03-29 18:30:30 +02:00
Hugo van Kemenade
1e574e6f8b Replace slice and comparison with startswith 2025-02-17 23:39:33 +02:00
Andrew Murray
5853632a8f
Merge branch 'main' into convert_mode 2025-02-18 08:06:03 +11:00
Andrew Murray
8f4bfe1fe5 Only crop when saving with disposal method 2 if transparency is present 2025-02-12 19:12:27 +11:00
Andrew Murray
741da90906 Added type hints 2024-12-28 07:37:57 +11:00
Andrew Murray
1187777c5b
Merge branch 'main' into convert_mode 2024-12-28 07:02:02 +11:00
Andrew Murray
8af2d7640e Pass palette mode to putpalette 2024-10-24 23:26:13 +11:00
Andrew Murray
a433f24f0b tile is already an empty list 2024-10-15 22:14:26 +11:00
Andrew Murray
d522e0a5c0 Improved handling of RGBA palettes when saving GIF images 2024-09-10 18:50:06 +10:00
Andrew Murray
8b3ef3784b Moved Buffer into _typing 2024-09-08 08:30:30 +10:00
Hugo van Kemenade
8aa1e9209b
Merge pull request #8336 from radarhere/type_hint_imagefile 2024-09-04 14:56:23 +03:00
Andrew Murray
d00f3656a6 Changed im.tile to never be None 2024-08-30 22:28:03 +10:00
Andrew Murray
bdc53f6c4d Expand C image to match GIF frame image size 2024-08-28 18:33:43 +10:00
Andrew Murray
eae107ceb2
Merge branch 'main' into type_hint_init 2024-08-28 08:31:09 +10:00
Andrew Murray
497080f63b Added type hint to ImageFile._save tile parameter 2024-08-15 07:30:01 +10:00
Andrew Murray
4d0e8e74b4 Use im property 2024-08-10 10:20:08 +10:00
Andrew Murray
8f1157a61d Added type hints to Image.__init__() 2024-08-02 23:30:27 +10:00
Hugo van Kemenade
51bd7d2ea8
Drop support for Python 3.8 (#8183)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-03 00:44:45 -06:00
Andrew Murray
43cc1e3659 Removed PyAccess and Image.USE_CFFI_ACCESS 2024-07-01 20:31:17 +10: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
6b5b2f6e58 Added type hints to Image 2024-06-18 22:44:17 +10:00
Andrew Murray
9afe9d2769 Added type hints 2024-06-11 06:52:14 +10:00
Andrew Murray
0c6485bee9 Merge branch 'main' into convert_mode 2024-06-10 22:22:30 +10:00
Andrew Murray
2d1fe7572f Added type hints 2024-06-10 14:15:28 +10:00
Andrew Murray
56fa3c658a Added type hints 2024-06-09 07:12:22 +10:00
Andrew Murray
b3c534cc9a Added type hints 2024-06-05 08:29:28 +10:00
Andrew Murray
2dedeef832 Support unpacking more rawmodes to RGBA palette 2024-05-22 20:05:07 +10:00
Andrew Murray
33e304ed66 Use @cached_property 2024-05-22 19:43:00 +10:00
Andrew Murray
a8d154877d Added type hints 2024-05-13 18:47:51 +10:00
Andrew Murray
6036d81d97 Added type hints 2024-05-04 20:51:54 +10:00
Andrew Murray
48b270590c accept returns bool or str 2024-04-06 18:31:08 +02:00
Andrew Murray
f40233395a
Merge branch 'main' into convert_mode 2024-04-02 09:54:06 +11:00
Andrew Murray
27b10c4bd8 Deprecate eval(), replacing it with lambda_eval() and unsafe_eval() 2024-04-01 09:11:59 +03:00
Hugo van Kemenade
93bf9912e2
Merge pull request #7788 from radarhere/gif_disposal 2024-03-11 17:48:13 +02:00
Hugo van Kemenade
1b25019a27
Merge pull request #7779 from radarhere/gif
Match mask size to pasted image size in GifImagePlugin
2024-03-01 12:14:05 +02:00
Andrew Murray
e617e604b5
Merge branch 'main' into convert_mode 2024-02-11 21:55:07 +11:00
Andrew Murray
430f50606e Current delta is determined by previous disposal 2024-02-10 21:33:32 +11:00
Andrew Murray
e6a521130e If previous disposal was 2, do not fill identical pixels 2024-02-09 19:47:09 +11:00
pre-commit-ci[bot]
27b0cf67e7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-05 17:18:52 +00:00
Andrew Murray
dfb48ff297 Match mask size to pasted image size 2024-02-05 19:16:15 +11:00
Andrew Murray
fc9e17651c
Merge branch 'main' into convert_mode 2023-12-27 12:51:00 +11:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00