Commit Graph

271 Commits

Author SHA1 Message Date
Andrew Murray
7e6a2f68b5 Updated type hints 2025-03-30 12:01:38 +11:00
Andrew Murray
3abce858c3
Merge branch 'main' into context_manager 2025-03-30 07:25:49 +11:00
Andrew Murray
10ccbd7788
If append_images is populated, default save_all to True (#8781)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-27 18:01:09 +02:00
Andrew Murray
7a1d854c00
Merge branch 'main' into context_manager 2025-03-22 00:44:22 +11:00
Andrew Murray
8d440f734b Removed unused argument 2025-03-21 20:39:36 +11:00
Andrew Murray
6cc5f1f0ad Simplified code 2025-03-19 20:58:40 +11:00
Andrew Murray
a1d0d95e78 Assert image type 2025-03-18 23:15:31 +11:00
Andrew Murray
24a0c4da71
Merge branch 'main' into context_manager 2025-03-18 22:57:09 +11:00
Andrew Murray
e946c7b14a
Test using _seek to skip frames (#8804)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-06 17:42:10 +02:00
Andrew Murray
05fc1fa492
Merge branch 'main' into context_manager 2025-03-05 19:15:11 +11:00
Hugo van Kemenade
e4cac21044 Don't use start=0 in range() 2025-03-03 23:57:40 +02:00
Andrew Murray
01d5b16c51
Merge branch 'main' into context_manager 2025-02-18 08:00:08 +11:00
Hugo van Kemenade
17541258c0
Merge pull request #8618 from radarhere/px 2025-02-17 13:30:17 +02:00
Hugo van Kemenade
3f111b986e
Merge pull request #8748 from radarhere/gif 2025-02-17 13:07:20 +02:00
Hugo van Kemenade
126026e5e5 Don't shadow builtin open 2025-02-15 16:35:07 +02:00
Hugo van Kemenade
028f0d6ea9 Remove unused data read 2025-02-15 16:35:07 +02:00
Hugo van Kemenade
ff960b8841 Remove debug Image._wedge 2025-02-15 16:35:07 +02: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
8020d423bc Use monkeypatch 2025-02-12 18:36:14 +11:00
Andrew Murray
f4db366e41 Merge branch 'main' into px 2025-02-07 08:51:58 +11:00
Andrew Murray
9ca85eb298
Merge branch 'main' into context_manager 2025-02-06 22:41:10 +11:00
Andrew Murray
ce1996d804 Use getpixel() instead of load() 2025-02-03 19:32:59 +11:00
Andrew Murray
a8c88c213c
Merge branch 'main' into context_manager 2025-01-27 21:31:34 +11:00
Andrew Murray
e19a1496c2
Use monkeypatch (#8707)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-01-27 12:17:51 +02:00
Andrew Murray
601a56def1 Assert palette is not None 2024-12-23 12:03:13 +11:00
Andrew Murray
5d5543b35c Assert that load() does not return None 2024-12-23 11:57:27 +11:00
Andrew Murray
3a8eaf5892 Merge branch 'main' into context_manager 2024-12-22 21:30:10 +11:00
Hugo van Kemenade
e40033dfc4
Merge pull request #8494 from radarhere/gif_palette
Improved handling of RGBA palettes when saving GIF images
2024-12-16 15:10:17 +02:00
Andrew Murray
dc3c489690
Merge branch 'main' into context_manager 2024-11-07 10:16:15 +11:00
Andrew Murray
413bbb31c9 Fixed catching warnings 2024-10-26 16:15:46 +11:00
Andrew Murray
8af2d7640e Pass palette mode to putpalette 2024-10-24 23:26:13 +11:00
Andrew Murray
15e0f1a180
Merge branch 'main' into context_manager 2024-09-10 21:42:21 +10:00
Andrew Murray
d522e0a5c0 Improved handling of RGBA palettes when saving GIF images 2024-09-10 18:50:06 +10:00
Andrew Murray
e005bcf8f2 Added type hints 2024-09-09 22:34:46 +10:00
Andrew Murray
31638ee29a Added type hints 2024-09-05 23:14:17 +10:00
Andrew Murray
bdc53f6c4d Expand C image to match GIF frame image size 2024-08-28 18:33:43 +10:00
Aleksandr Karpinskii
a3468996c0 Remove webp animations flags and conditions
Removed:
_webp.WebPDecode
_webp.HAVE_WEBPANIM
features.webp_anim
2024-08-13 09:33:20 +04:00
Andrew Murray
486dac7efc Added type hints 2024-07-06 19:17:23 +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
9afe9d2769 Added type hints 2024-06-11 06:52:14 +10:00
Andrew Murray
66ab7e0de2 Added type hints 2024-06-01 21:31:53 +10: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
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
Andrew Murray
dfb48ff297 Match mask size to pasted image size 2024-02-05 19:16:15 +11:00
Andrew Murray
bb1fece57a Added type hints 2024-01-31 21:55:32 +11:00
Hugo van Kemenade
4a4b90c365
Autotype tests (#7756)
* autotyping: --none-return
* autotyping: --scalar-return
* autotyping: --int-param
* autotyping: --float-param
* autotyping: --str-param
* autotyping: --annotate-named-param tmp_path:pathlib.Path
2024-01-31 20:12:58 +11:00
Hugo van Kemenade
53c3cd9f8e isort Tests 2024-01-20 13:23:03 +02:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00