Commit Graph

18322 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
a3e3639a59 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-24 11:27:43 +00:00
Andrew Murray
658b60e3a3
Include units
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-08-24 21:26:56 +10:00
Andrew Murray
d49ea37811 Include limit in error message 2024-08-22 17:50:42 +10:00
Andrew Murray
f368ccc06e
Merge branch 'main' into webp 2024-08-22 12:36:17 +10:00
Jeffrey 'Alex' Clark
d6cfebd016 Revert "Add/update project-makefile files"
This reverts commit 388fc78e36.

Sorry for the noise (4/4)!
2024-08-21 21:17:29 -04:00
Jeffrey 'Alex' Clark
1143bffe1a Revert "Add/update project-makefile files"
This reverts commit 776eb9e9b7.

Sorry for the noise (3/4)!
2024-08-21 21:17:06 -04:00
Jeffrey 'Alex' Clark
e19841afa4 Revert "Add/update project-makefile files"
This reverts commit 837af6420d.

Sorry for the noise (2/4)!
2024-08-21 21:16:35 -04:00
Jeffrey 'Alex' Clark
0f64d08e64 Revert "Add/update project-makefile files"
This reverts commit 575fad2472.

Sorry for the noise (1/4)!
2024-08-21 21:16:02 -04:00
Andrew Murray
132663a881 Updated error message for invalid width or height 2024-08-22 07:36:52 +10:00
Jeffrey 'Alex' Clark
575fad2472 Add/update project-makefile files 2024-08-21 17:02:53 -04:00
Jeffrey 'Alex' Clark
837af6420d Add/update project-makefile files 2024-08-21 16:43:28 -04:00
Jeffrey 'Alex' Clark
776eb9e9b7 Add/update project-makefile files 2024-08-21 16:08:26 -04:00
Jeffrey 'Alex' Clark
388fc78e36 Add/update project-makefile files 2024-08-21 15:32:06 -04:00
Andrew Murray
f0d8fd3059
Merge pull request #8310 from Yay295/tiff_cleanup
Move repeated code to private helper function
2024-08-21 13:48:18 +10:00
Hugo van Kemenade
f8d3e36176
Merge pull request #8315 from radarhere/iptc
Get IPTC info from tag_v2
2024-08-20 13:52:55 +03:00
Hugo van Kemenade
0ec1153a62
Merge pull request #8318 from radarhere/brew
Uninstall gradle and maven on macOS 13
2024-08-19 14:41:21 +03:00
Andrew Murray
27ca30d50e
Merge pull request #8309 from hugovk/flake8-pytest-style
Lint: run more flake8-pytest-style
2024-08-19 21:16:21 +10:00
Andrew Murray
2467369c13 Uninstall gradle and maven on macOS 13 2024-08-19 20:50:45 +10:00
Yay295
cd76b48533 move repeated code to private helper function 2024-08-18 17:02:45 -05:00
Andrew Murray
f26b47595b Get IPTC info from tag_v2 2024-08-19 06:56:31 +10:00
Hugo van Kemenade
5747267eb3 Fix PT018: Assert only one thing 2024-08-17 11:46:15 +03:00
Hugo van Kemenade
5c282d0299 Fix PT014: duplicate test cases in pytest.mark.parametrize 2024-08-17 11:46:15 +03:00
Hugo van Kemenade
6f506d2ae3 Run all flake8-pytest-style except rules some that fail 2024-08-17 11:46:15 +03:00
Hugo van Kemenade
eeb3d04843
Merge pull request #8306 from radarhere/tag_v2 2024-08-16 12:56:16 +03:00
Andrew Murray
617699ffc7 Log value from tag_v2 2024-08-16 12:03:02 +10:00
Andrew Murray
0a03b77daf Update CHANGES.rst [ci skip] 2024-08-16 06:36:31 +10:00
Hugo van Kemenade
0633257be3
Merge pull request #8285 from radarhere/type_hint 2024-08-15 23:25:50 +03:00
Hugo van Kemenade
394e850db8
Merge pull request #8304 from radarhere/rounded_rectangle 2024-08-15 16:06:42 +03:00
Andrew Murray
d5e3f6b516 If left and right sides meet, do not draw rectangle to fill gap 2024-08-15 14:46:23 +10:00
Andrew Murray
d4c72da6b2 Added type hints to example code 2024-08-15 14:10:31 +10:00
Andrew Murray
8afb7ddb4e Added type hints 2024-08-15 08:08:43 +10:00
Andrew Murray
497080f63b Added type hint to ImageFile._save tile parameter 2024-08-15 07:30:01 +10:00
Andrew Murray
8737709781 Added return type to ImageFile.load() 2024-08-15 07:30:00 +10:00
Andrew Murray
b14142462e Update CHANGES.rst [ci skip] 2024-08-15 05:11:00 +10:00
Alexander Karpinsky
35a70e4b97
Merge pull request #8213 from uploadcare/webp-require-anim
Remove WebP support without anim, mux/demux, and with buggy alpha
2024-08-14 15:27:23 +04:00
Alexander Karpinsky
4d544da5c6
Merge pull request #142 from radarhere/webp-require-anim
Suggestions for deprecating older WebP versions
2024-08-14 12:47:17 +04:00
Andrew Murray
359d7592c7 Test deprecation warnings 2024-08-14 18:41:39 +10:00
Andrew Murray
45552b5b4f Updated documentation 2024-08-14 18:36:06 +10:00
Andrew Murray
66319fcce7 Animation support is no longer conditionally enabled 2024-08-14 18:35:59 +10:00
Andrew Murray
ba82dff7bc Updated test name 2024-08-14 18:35:53 +10:00
Andrew Murray
c7e6289b36 Use relative import 2024-08-13 19:07:01 +10:00
Andrew Murray
f3aec6dd38 Simplified code 2024-08-13 19:05:32 +10:00
Andrew Murray
5546994828 Removed unnecessary variable 2024-08-13 19:03:14 +10:00
Alexander Karpinsky
93ce9ce004
Update features type
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-08-13 09:52:07 +04:00
Andrew Murray
924df9e60b Moved line after early return
Improve compiler advice

Update src/PIL/features.py
2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
6180abc75c Remove WebP versions notes from docs 2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
56ca359c65 Bring back removed features, add deprecations and Release notes 2024-08-13 09:34:49 +04: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
Aleksandr Karpinskii
9bed5b4264 Remove _webp.WebPDecoderBuggyAlpha and _webp.HAVE_TRANSPARENCY 2024-08-13 09:26:04 +04:00
Aleksandr Karpinskii
c1e8375af8 Require webpmux and webpdemux 2024-08-13 09:24:52 +04:00