Kylian Ronfleux--Corail
ad227a56cb
Merge 6f45852ced
into d546233be4
2025-04-19 19:51:34 +00:00
Hugo van Kemenade
d546233be4
Remove indentation from lists ( #8915 )
2025-04-19 22:50:57 +03:00
Andrew Murray
cf48bbf0c4
Removed indentation from list
2025-04-19 20:26:03 +10:00
Hugo van Kemenade
eb0395442c
Merge pull request #8904 from radarhere/harfbuzz
2025-04-18 14:29:58 +03:00
Andrew Murray
00ae9dda35
Changed harfbuzz buildtype to minsize
2025-04-18 18:49:11 +10:00
Kylian Ronfleux--Corail
6f45852ced
Merge branch 'main' into fix-qtables-and-quality-scaling
2025-04-17 09:12:22 +02:00
Andrew Murray
ccc4668d4e
Updated harfbuzz to 11.1.0
2025-04-17 08:04:34 +10:00
Andrew Murray
3d4119521c
Close file pointer earlier ( #8895 )
2025-04-16 18:49:57 +03:00
Andrew Murray
f630ec097b
Build Windows arm64 wheels on arm64 runner ( #8898 )
2025-04-16 14:05:08 +03:00
Andrew Murray
6ea7dc8eea
Add Fedora 42 ( #8899 )
2025-04-16 10:06:52 +03:00
Andrew Murray
507fefbce4
Python 3.13 is tested on Arch ( #8894 )
2025-04-15 14:02:35 +03:00
Andrew Murray
bd39801a7b
Merge pull request #8893 from python-pillow/doc-fix
...
Move XV Thumbnails to read only section
2025-04-15 12:16:17 +10:00
Jeffrey A. Clark
8b1777b999
Move XV Thumbnails to read only section
2025-04-14 14:51:01 -04:00
pre-commit-ci[bot]
630265f79a
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-04-14 08:33:32 +00:00
Kylian Ronfleux--Corail
aca38b6504
add more information on how qtables parameter works with quality
2025-04-14 08:32:32 +00:00
pre-commit-ci[bot]
45fb0626b3
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-04-14 08:10:28 +00:00
Kylian Ronfleux--Corail
32590baeec
add force_baseline which limit output of quantization table to 255 when giving a quality and a qantization table
2025-04-14 08:07:11 +00:00
Kylian Ronfleux--Corail
5d82c79c2f
add test to qtables to test all quantization tables for quality beetween 0 and 100
2025-04-14 08:06:33 +00:00
Andrew Murray
4716bb7818
Update macOS tested Pillow versions ( #8890 )
2025-04-13 16:59:05 +03:00
Hugo van Kemenade
1299039ec4
Merge pull request #8887 from radarhere/fedora
...
Removed Fedora 40
2025-04-13 11:27:27 +03:00
Andrew Murray
5294021438
Removed Fedora 40
2025-04-13 09:26:06 +10:00
Hugo van Kemenade
f9083264ff
11.3.0.dev0 version bump
2025-04-12 20:56:35 +03:00
Hugo van Kemenade
339bc5db93
11.2.1 version bump
2025-04-12 19:55:46 +03:00
Hugo van Kemenade
857b8846ea
Merge pull request #8885 from radarhere/releasenotes
2025-04-12 19:32:07 +03:00
Hugo van Kemenade
7a0092f207
Remove incomplete 11.2.0 release, bill as 11.2.1 instead
2025-04-12 18:56:38 +03:00
Hugo van Kemenade
d52c2db317
Do not include libavif in wheels
2025-04-12 18:30:08 +03:00
Andrew Murray
8dafc38371
Added 11.2.1 release notes
2025-04-12 19:24:35 +10:00
Andrew Murray
07d7800248
Removed release notes update
2025-04-12 19:08:45 +10:00
Andrew Murray
04909483a7
Remove GPL v2 license ( #8884 )
2025-04-12 10:29:06 +03:00
Hugo van Kemenade
774d0aedce
Merge pull request #8868 from radarhere/xz_upgrade
...
Updated xz to 5.8.1
2025-04-12 10:27:17 +03:00
Hugo van Kemenade
d1e27fc86c
Merge pull request #8870 from radarhere/harfbuzz_upgrade
...
Updated harfbuzz to 11.0.1
2025-04-12 10:20:59 +03:00
pre-commit-ci[bot]
661f5f5729
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-04-10 13:00:36 +00:00
Kylian Ronfleux--Corail
70272591f8
Add test to verify that specifying standard qtables and a quality is equivalent to specifying only a quality
2025-04-10 12:59:42 +00:00
Kylian Ronfleux--Corail
13bffef91d
Fix quantization table scaling when quality is applied to custom qtables
...
When both a custom quantization table and a quality value are provided,
the quantization table should be scaled using the JPEG quality scaling factor.
If quality is not explicitly set, the default base quality of 50 is used to preserve the original table.
This ensures consistent behavior when saving JPEGs with custom qtables.
Fixes part of the issue with applying 'quality' to 'qtables'.
2025-04-10 10:01:02 +00:00
Kylian Ronfleux--Corail
e3c0ee6ae2
Fix incorrect quality scaling when using qtables in JPEG encoder
...
When both `qtables` and `quality` are provided, Pillow previously passed
the raw `quality` value directly to `jpeg_add_quant_table()` as the scale
factor, which caused incorrect quantization.
This commit corrects the behavior by using `jpeg_quality_scaling(quality)`
to compute the proper JPEG quantization scaling factor, consistent with
`jpeg_set_quality()`.
This ensures expected compression behavior when custom qtables are used
alongside a specified quality level.
2025-04-10 07:31:05 +00:00
Andrew Murray
c8d98d56a0
Added avif to config settings ( #8875 )
2025-04-10 09:21:48 +03:00
Hugo van Kemenade
5b1a64c53c
[pre-commit.ci] pre-commit autoupdate
2025-04-10 09:20:41 +03:00
Andrew Murray
6b5f8d768d
Do not include libavif in wheels
2025-04-10 13:55:02 +10:00
Andrew Murray
179ae9d395
Disable building harfbuzz tests
2025-04-08 22:05:29 +10:00
Andrew Murray
8b7d72440e
Specify both C and Cpp
2025-04-08 20:15:45 +10:00
Hugo van Kemenade
8c4510cb23
Fix clang-format: Configuration file(s) do(es) not support C
2025-04-07 22:25:12 +03:00
pre-commit-ci[bot]
a5a8ece5d2
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-04-07 17:17:36 +00:00
pre-commit-ci[bot]
f6eb2e7fa5
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.11.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.9...v0.11.4 )
- [github.com/pre-commit/mirrors-clang-format: v19.1.7 → v20.1.0](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.7...v20.1.0 )
- [github.com/python-jsonschema/check-jsonschema: 0.31.2 → 0.32.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.2...0.32.1 )
- [github.com/woodruffw/zizmor-pre-commit: v1.4.1 → v1.5.2](https://github.com/woodruffw/zizmor-pre-commit/compare/v1.4.1...v1.5.2 )
- [github.com/abravalheri/validate-pyproject: v0.23 → v0.24.1](https://github.com/abravalheri/validate-pyproject/compare/v0.23...v0.24.1 )
2025-04-07 17:17:00 +00:00
Andrew Murray
82bccf70a0
Added XZ_CLMUL_CRC:BOOL=OFF to allow Windows x86 to use xz 5.8.1
2025-04-06 11:10:05 +10:00
Andrew Murray
1db27be6a0
Use same URL as wheels-dependencies.sh
2025-04-05 16:09:12 +11:00
Andrew Murray
1ba32fce48
Updated harfbuzz to 11.0.1
2025-04-05 15:44:46 +11:00
Hugo van Kemenade
cda26be10e
Merge pull request #8850 from hugovk/pep639
...
Replace deprecated classifier with licence expression (PEP 639)
2025-04-04 18:36:02 +03:00
Frankie Dintino
9f654ff748
Fixed conversion of AVIF image rotation property to EXIF orientation ( #8866 )
2025-04-04 16:41:11 +03:00
Andrew Murray
61d3dd9e83
Updated xz to 5.8.1, except on Windows x86
2025-04-04 22:12:54 +11:00
Andrew Murray
9f4195752d
Added type hints ( #8867 )
2025-04-03 13:24:37 +03:00