Commit Graph

270 Commits

Author SHA1 Message Date
Andrew Murray
af7954bc6f
Merge branch 'main' into progress 2025-03-06 07:57:45 +11:00
Hugo van Kemenade
e4cac21044 Don't use start=0 in range() 2025-03-03 23:57:40 +02: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
ce1996d804 Use getpixel() instead of load() 2025-02-03 19:32:59 +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
62786fd2c1 Merge branch 'main' into progress 2024-12-28 11:42:08 +11: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
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
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
ebbdc6ee6f
Merge branch 'main' into progress 2024-09-26 20:24:54 +10:00
Andrew Murray
d522e0a5c0 Improved handling of RGBA palettes when saving GIF images 2024-09-10 18:50:06 +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
8b4b7ce7dd
Merge branch 'main' into progress 2024-07-16 20:05:10 +10:00
Andrew Murray
486dac7efc Added type hints 2024-07-06 19:17:23 +10:00
Andrew Murray
26e2a9f29c
Merge branch 'main' into progress 2024-07-03 18:26:35 +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
682a9aed55 Merge branch 'main' into progress 2024-06-12 23:21:50 +10: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
Andrew Murray
14560e1770
Merge branch 'main' into progress 2024-03-12 08:24:49 +11: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
b7a5b5984b Updated tests for os.path.realpath 2024-02-12 19:24:01 +11:00
Andrew Murray
3c80ec0873
Merge branch 'main' into progress 2024-02-11 21:55:54 +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
Andrew Murray
dfb48ff297 Match mask size to pasted image size 2024-02-05 19:16:15 +11:00
Andrew Murray
344c300597
Merge branch 'main' into progress 2024-01-31 22:00:55 +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
Andrew Murray
69680db24d Merge branch 'main' into progress 2024-01-21 14:44:29 +11:00
Hugo van Kemenade
53c3cd9f8e isort Tests 2024-01-20 13:23:03 +02:00
Andrew Murray
19c2721931
Merge branch 'main' into progress 2023-12-22 23:56:40 +11:00
Andrew Murray
fae06539be Merge branch 'main' into progress 2023-12-21 22:36:16 +11:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00
Hugo van Kemenade
18907b5f7e
Merge pull request #7568 from radarhere/gif_transparency 2023-12-21 12:58:07 +02:00
Hugo van Kemenade
9eb93915c3
Merge pull request #7521 from radarhere/gif_save_all 2023-12-21 12:52:26 +02:00
Andrew Murray
55c5587437 Fill identical pixels with transparency in subsequent frames 2023-11-25 19:16:32 +11:00
Andrew Murray
dc0379fea5 Corrected combining durations from multiple frames into single frame 2023-11-03 21:09:16 +11:00