Commit Graph

16469 Commits

Author SHA1 Message Date
Nulano
0cef9f251c fix drawing text alpha on RGBA image on big-endian platforms 2023-11-27 17:12:12 +01:00
Nulano
f3b3442c50 add test for glyph alpha blending 2023-11-27 16:25:04 +01:00
ZachNagengast
29ca3fcf3a Update caron_below_ttb_lb test image 2023-11-12 11:36:35 -08:00
ZachNagengast
0a33b30614 Update caron_below_ttb test image 2023-11-11 18:45:21 -08:00
ZachNagengast
d127600c59 Update test images for overlapping text 2023-11-07 08:03:22 -08:00
ZachNagengast
11bea8fea6 Merge branch 'main' of ssh://github.com/python-pillow/Pillow into fix-alpha-for-overlapping-glyphs 2023-11-07 06:34:31 -08:00
Hugo van Kemenade
a7fe25df53
Merge pull request #7522 from radarhere/png_save_all 2023-11-07 11:35:24 +02:00
ZachNagengast
8ecf2e9f30 Merge branch 'fix-alpha-for-overlapping-glyphs' of ssh://github.com/ZachNagengast/Pillow into fix-alpha-for-overlapping-glyphs 2023-11-06 21:11:36 -08:00
ZachNagengast
fdecfca9f4 Update gray glyph blending logic and tests 2023-11-06 21:11:28 -08:00
Zach Nagengast
b15b2d494c
Update src/_imagingft.c
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-11-06 20:48:22 -08:00
Hugo van Kemenade
c97d2e4c59
Merge pull request #7525 from python-pillow/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-11-06 20:38:30 +02:00
pre-commit-ci[bot]
f8c36bfdc9
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black-pre-commit-mirror: 23.9.1 → 23.10.1](https://github.com/psf/black-pre-commit-mirror/compare/23.9.1...23.10.1)
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)
- [github.com/sphinx-contrib/sphinx-lint: v0.6.8 → v0.8.1](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.6.8...v0.8.1)
- [github.com/tox-dev/pyproject-fmt: 1.2.0 → 1.4.1](https://github.com/tox-dev/pyproject-fmt/compare/1.2.0...1.4.1)
- [github.com/abravalheri/validate-pyproject: v0.14 → v0.15](https://github.com/abravalheri/validate-pyproject/compare/v0.14...v0.15)
2023-11-06 17:18:28 +00:00
Hugo van Kemenade
0660886c9a
Merge pull request #6966 from akx/ruff 2023-11-06 13:37:47 +02:00
Aarni Koskela
9e615b6ad3 Add noqas for UP031 2023-11-06 12:43:14 +02:00
Aarni Koskela
307d00b44d Apply ruff autofixes 2023-11-06 12:43:14 +02:00
Aarni Koskela
de6c4b09d7 Switch linting to ruff
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-06 12:43:14 +02:00
Aarni Koskela
80406a7c9b editorconfig: specify 2-space indent for TOML
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-11-06 12:42:44 +02:00
Hugo van Kemenade
4a7cf0551a
Merge pull request #7512 from hugovk/docs-link-exceptions
Docs: link exceptions to Python docs
2023-11-05 10:58:12 +02:00
Hugo van Kemenade
8fe20165d4
Merge pull request #105 from radarhere/docs-link-exceptions
Docs: link exceptions to Python docs
2023-11-05 07:47:01 +02:00
Andrew Murray
8cbd0b5fe0 Docs: link exceptions to Python docs 2023-11-05 12:18:38 +11:00
ZachNagengast
e1aaec3fb1 Merge branch 'main' of ssh://github.com/python-pillow/Pillow into fix-alpha-for-overlapping-glyphs 2023-11-03 15:09:07 -07:00
ZachNagengast
a7f805d889 Merge branch 'fix-alpha-for-overlapping-glyphs' of ssh://github.com/ZachNagengast/Pillow into fix-alpha-for-overlapping-glyphs 2023-11-03 15:08:50 -07:00
ZachNagengast
bb0eff44cd Update blending logic
- Unpremultiply properly
- No longer uses floats
2023-11-03 15:05:55 -07:00
Andrew Murray
38be37c5f9
Merge branch 'main' into docs-link-exceptions 2023-11-03 22:29:33 +11:00
Andrew Murray
bee9c59716
Merge pull request #7520 from hugovk/CVE-2023-44271
Add CVE-2023-44271 to release notes
2023-11-03 22:28:22 +11:00
Andrew Murray
c29648ff53 If save_all PNG only has one frame, do not create animated image 2023-11-03 22:08:48 +11:00
Hugo van Kemenade
5339c1cf63 Add CVE-2023-44271 to ImageFont.MAX_STRING_LENGTH fix in release notes 2023-11-03 11:59:37 +02:00
Andrew Murray
1c2f2c79e1
Merge pull request #7509 from radarhere/olefile
Mention defusedxml and olefile in installation instructions
2023-11-03 19:16:16 +11:00
Andrew Murray
fa138155b2 Update CHANGES.rst [ci skip] 2023-11-03 19:01:22 +11:00
Andrew Murray
a5a6ca150c
Merge pull request #7493 from radarhere/frombytes
Fixed frombytes() for images with a zero dimension
2023-11-03 18:56:34 +11:00
Hugo van Kemenade
14c539e787
Merge pull request #7516 from radarhere/fedora
Removed Fedora 37
2023-11-02 09:22:07 +02:00
Andrew Murray
6b1e939027 Removed Fedora 37 2023-11-02 17:33:10 +11:00
Andrew Murray
d499f0016f
Mention defusedxml
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-11-02 08:21:35 +11:00
Hugo van Kemenade
ca74a5ea42 Docs: link exceptions to Python docs 2023-11-01 20:18:25 +02:00
Andrew Murray
b92c09a391
Updated wording
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-31 18:39:38 +11:00
Andrew Murray
1a6c76495b Mention olefile in installation instructions 2023-10-31 17:47:52 +11:00
Hugo van Kemenade
c9f7a8209b
Merge pull request #7508 from radarhere/appveyor
Updated AppVeyor to Python 3.12
2023-10-31 07:44:24 +02:00
Andrew Murray
8cd01cab80 Updated AppVeyor to Python 3.12 2023-10-31 12:44:53 +11:00
Hugo van Kemenade
9d61896af0
Merge pull request #7505 from hugovk/docs-pypi-role 2023-10-30 11:02:44 +02:00
Hugo van Kemenade
ac6eb84704 Add 'pypi' Sphinx role 2023-10-30 08:56:42 +02:00
Hugo van Kemenade
8d0812252a
Merge pull request #7503 from radarhere/olefile 2023-10-30 08:42:34 +02:00
Andrew Murray
84e148e944 Document that olefile is required for FPX and MIC formats 2023-10-30 09:02:42 +11:00
Andrew Murray
5a7d524f94 Install more optional dependencies on Windows CIs 2023-10-30 09:02:29 +11:00
Hugo van Kemenade
44062ec778
Merge pull request #7501 from python-pillow/3.12-travis-ci 2023-10-29 14:33:10 +02:00
Hugo van Kemenade
dea5bbebbc Update to Python 3.12 and Ubuntu 22.04 LTS Jammy Jellyfish 2023-10-29 11:41:49 +02:00
Hugo van Kemenade
da3ec085e4
Merge pull request #7499 from radarhere/items 2023-10-28 11:11:33 +03:00
Andrew Murray
3652f431c2 Simplified code 2023-10-28 14:22:39 +11:00
Andrew Murray
76f758e1ef Merge branch 'main' into fix-alpha-for-overlapping-glyphs 2023-10-28 00:41:41 +11:00
Hugo van Kemenade
0a3c8c27ec
Merge pull request #7498 from radarhere/pip_install 2023-10-27 14:27:10 +03:00
Andrew Murray
bff6b4d6a2 Switched from direct setup.py invocation to "pip install ." 2023-10-27 19:17:15 +11:00