Commit Graph

106 Commits

Author SHA1 Message Date
Andrew Murray
25095a04d4
Merge 23373c8a7e into 76f04b46c5 2025-10-18 14:07:56 +11:00
Andrew Murray
27a7582b35 Moved imports into TYPE_CHECKING 2025-08-02 11:40:35 +10:00
Andrew Murray
24b9ca7a47
Merge branch 'main' into progress 2025-03-22 00:41:32 +11:00
Andrew Murray
ba2c4291ea Updated comment 2025-03-19 19:22:15 +11:00
Andrew Murray
af7954bc6f
Merge branch 'main' into progress 2025-03-06 07:57:45 +11:00
Hugo van Kemenade
1e574e6f8b Replace slice and comparison with startswith 2025-02-17 23:39:33 +02:00
Andrew Murray
b59dea60a6 Simplify Python code by receiving tuple from C 2025-02-08 21:07:25 +11:00
Andrew Murray
b19506a499 Simplify Python code by passing tuples to C 2025-02-05 19:12:50 +11:00
Andrew Murray
62786fd2c1 Merge branch 'main' into progress 2024-12-28 11:42:08 +11:00
Andrew Murray
a433f24f0b tile is already an empty list 2024-10-15 22:14:26 +11:00
Andrew Murray
ebbdc6ee6f
Merge branch 'main' into progress 2024-09-26 20:24:54 +10:00
Aleksandr Karpinskii
1d5b330758 Move common conversion in _convert_frame 2024-09-16 15:57:35 +02:00
Aleksandr Karpinskii
31d36e6b70 Use current frame for transparency detection 2024-09-16 11:04:00 +02:00
Aleksandr Karpinskii
d1f40a94ff Use Image.getim() instead of ImagingCore.ptr 2024-09-16 10:52:06 +02:00
Aleksandr Karpinskii
4d271c8ec8 import_frame for anim_encoder_add 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
Andrew Murray
d00f3656a6 Changed im.tile to never be None 2024-08-30 22:28:03 +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
38458a204c Corrected type hints 2024-07-20 19:07:42 +10:00
Andrew Murray
8b4b7ce7dd
Merge branch 'main' into progress 2024-07-16 20:05:10 +10:00
Andrew Murray
8a05e32336 Added type hints 2024-07-08 20:09:45 +10:00
Andrew Murray
f3c3e52797
Added type hints (#8204)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-07-05 11:55:23 -06:00
Andrew Murray
2f27173d8f
Merge branch 'main' into progress 2024-06-26 18:45:50 +10:00
Andrew Murray
7ab3aee7bc
Merge branch 'main' into xmp 2024-06-19 09:06:10 +10:00
Andrew Murray
682a9aed55 Merge branch 'main' into progress 2024-06-12 23:21:50 +10:00
Andrew Murray
2d1fe7572f Added type hints 2024-06-10 14:15:28 +10:00
Andrew Murray
eba2694498
Merge branch 'main' into xmp 2024-06-05 15:53:46 +10:00
Andrew Murray
6e40601f69 Added type hints 2024-06-04 20:37:09 +10:00
Andrew Murray
0f1a0fc501 Improved consistency of XMP handling 2024-05-20 23:11:50 +10:00
Andrew Murray
8a3a72e51d Added type hints 2024-05-18 16:06:50 +10:00
Andrew Murray
e419fd7ab4 Added type hints 2024-05-15 20:19:09 +10:00
Andrew Murray
a8d154877d Added type hints 2024-05-13 18:47:51 +10:00
Andrew Murray
18b87c8515 Added type hints 2024-05-11 10:48:09 +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
d52b3a2ce1
Merge branch 'main' into progress 2024-04-02 09:16:02 +11:00
Andrew Murray
64c8c27271 Added alpha_quality argument when saving 2024-03-13 18:55:29 +11: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
Andrew Murray
a07bac3a56 Attempt memory mapping when tile args is a string 2023-11-21 21:45:14 +11:00
Andrew Murray
fe7c9d37c8 Moved progress code into common private method 2023-10-06 19:45:21 +11:00
Andrew Murray
b5f322831a Restored filename in progress callback 2023-10-05 18:40:01 +11:00
Andrew Murray
3465a598e2 Pass back index of image in sequence, instead of filename 2023-10-02 18:33:48 +11:00
Andrew Murray
6850465d54 Added progress callback when save_all is used 2023-10-02 15:44:43 +11:00
Hugo van Kemenade
8cb1e29491
Merge pull request #7420 from radarhere/transparency 2023-09-30 02:53:22 -06:00
Andrew Murray
e27d7a6f84 Changed has_transparency_data() to property 2023-09-26 20:14:22 +10:00
Andrew Murray
ad12caecda Convert RGBA palette to RGBA image when saving WebP 2023-09-25 20:28:25 +10:00
Andrew Murray
26c4798707 Revert "Merge pull request #7311 from k128/main"
This reverts commit 39d866b17d, reversing
changes made to f39f74fb82.
2023-09-18 20:34:05 +10:00