Commit Graph

18395 Commits

Author SHA1 Message Date
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
Andrew Murray
f801649513 Updated freetype to 2.13.3 2024-08-13 06:11:32 +10:00
Alexander Karpinsky
a5b415bef5
Merge pull request #8298 from uploadcare/missing-CMYK;16B
Add missing TIFF CMYK;16B reader
2024-08-11 16:09:14 +04:00
Aleksandr Karpinskii
0d79a38e77 Add missing TIFF CMYK;16B reader 2024-08-11 15:14:29 +04:00
Andrew Murray
de441ee091 Updated to Python 3.10 2024-08-10 21:05:14 +10:00
Andrew Murray
4d0e8e74b4 Use im property 2024-08-10 10:20:08 +10:00
Hugo van Kemenade
c8b5f0b9ea
Merge pull request #8293 from radarhere/quant
Fix undefined variable
2024-08-10 01:05:05 +03:00
Andrew Murray
8da4883234 Merge branch 'main' into type_hint_init 2024-08-09 14:21:46 +10:00
Hugo van Kemenade
082e3234a1
Merge pull request #8295 from akx/ruff-enforce-parametrize-style 2024-08-08 15:12:43 +03:00
Aarni Koskela
1c998d7f7c
Update pyproject.toml
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-08-08 14:10:18 +03:00
Hugo van Kemenade
c6867187bd
Merge pull request #8290 from akx/parametrize-lut-tests 2024-08-07 15:12:56 +03:00
Hugo van Kemenade
2e23dc5c03
Merge pull request #8294 from radarhere/warning 2024-08-07 14:19:09 +03:00
Aarni Koskela
8ca53b312d Enforce CSV parametrize names style 2024-08-07 12:27:20 +03:00
Andrew Murray
a06529a3a8 Added channels parameter 2024-08-07 12:13:05 +03:00
Andrew Murray
5c4aeaa329 Concatenate parameters into single string 2024-08-07 12:13:05 +03:00
Andrew Murray
4fddc625f1 Corrected lut mode 2024-08-07 12:13:05 +03:00
Andrew Murray
7581b48706 Fixed sign comparison warning 2024-08-07 18:44:43 +10:00
Andrew Murray
11b4df3ff9
Merge pull request #8289 from akx/mypy-fixes
Move auxiliary mypy requirements to a requirements file
2024-08-07 18:05:06 +10:00
Aarni Koskela
59c69f8d71 Move auxiliary mypy requirements to a requirements file
For easier installation outside tox
2024-08-07 09:37:21 +03:00
Andrew Murray
70298d3be9 Fix undefined variable 2024-08-07 06:38:46 +10:00
Aarni Koskela
9d6d16d5cc Parametrize some color_lut tests for DRYness 2024-08-06 15:25:23 +03:00
Hugo van Kemenade
f2469cb1bf
Merge pull request #8288 from radarhere/quant
Removed unused variable
2024-08-06 08:21:00 +03:00
Andrew Murray
5e8dbbbf9e Removed unused variable 2024-08-06 13:32:46 +10:00
Andrew Murray
13c00bab86 Updated libimagequant to 4.3.3 2024-08-06 11:16:57 +10:00
Andrew Murray
1fd4d14782 Update CHANGES.rst [ci skip] 2024-08-06 06:31:47 +10:00
Andrew Murray
c056406f21 Added comments to explain overhead_len 2024-08-06 06:19:15 +10:00
Hugo van Kemenade
8696974cef
Merge pull request #8287 from python-pillow/pre-commit-ci-update-config 2024-08-05 21:43:02 +03:00
pre-commit-ci[bot]
554f8bb23a
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.5.6)
- [github.com/python-jsonschema/check-jsonschema: 0.28.6 → 0.29.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.6...0.29.1)
- [github.com/tox-dev/pyproject-fmt: 2.1.3 → 2.2.1](https://github.com/tox-dev/pyproject-fmt/compare/2.1.3...2.2.1)
2024-08-05 17:37:42 +00:00
Andrew Murray
d49884e40c Raise ValueError is XMP data is too long 2024-08-05 21:48:36 +10:00
Andrew Murray
2722cfd72b Added writing XMP bytes to JPEG 2024-08-05 20:20:24 +10:00
Andrew Murray
71876cfd2a
Merge pull request #8282 from python-pillow/renovate/cibuildwheel-2.x
Update dependency cibuildwheel to v2.20.0
2024-08-04 19:51:10 +10:00
renovate[bot]
69076fa3d9
Update dependency cibuildwheel to v2.20.0 2024-08-04 06:21:13 +00:00
Andrew Murray
6897566701
Merge pull request #8280 from python-pillow/renovate/mypy-1.x
Update dependency mypy to v1.11.1
2024-08-03 13:40:35 +10:00
renovate[bot]
3e93b806cc
Update dependency mypy to v1.11.1 2024-08-03 02:29:19 +00:00
Andrew Murray
8f1157a61d Added type hints to Image.__init__() 2024-08-02 23:30:27 +10:00
Alexander Karpinsky
d8447de24d
Merge pull request #8211 from uploadcare/remove-c-flags
Remove all WITH_* flags from _imaging.c and other flags
2024-08-02 16:10:10 +04:00
Hugo van Kemenade
126af363af
Merge pull request #8265 from radarhere/imagedraw2 2024-08-01 14:50:43 +03:00
Hugo van Kemenade
5517232205
Merge pull request #8238 from lysnikolaou/arena-thread-safe 2024-08-01 12:31:56 +03:00
Andrew Murray
95cc0b1109
Merge pull request #8274 from radarhere/unused_jpeg
Deprecate JpegImageFile huffman_ac and huffman_dc
2024-08-01 17:43:01 +10:00
Andrew Murray
488e1982bd Added removal version and date 2024-08-01 16:29:46 +10:00
Andrew Murray
e6fd8359d3 Deprecate huffman_ac and huffman_dc 2024-08-01 12:27:45 +10:00
Hugo van Kemenade
4df4df2a18
Merge pull request #8270 from radarhere/type_hint 2024-07-30 14:42:41 +03:00
Andrew Murray
accfaf1c09 Added type hints 2024-07-30 20:20:09 +10:00