Commit Graph

16447 Commits

Author SHA1 Message Date
ZachNagengast
fdecfca9f4 Update gray glyph blending logic and tests 2023-11-06 21:11:28 -08: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
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
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
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
pre-commit-ci[bot]
49fd2116c3 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-10-27 05:03:04 +00:00
Hugo van Kemenade
d3fd1734af
Merge pull request #7490 from Yay295/patch-1
Add mode to ImageOps._lut() error message
2023-10-27 07:40:44 +03:00
ZachNagengast
f97570f523 Blend colors with alpha when pasting
- Previously took the highest alpha as threshold
2023-10-26 21:40:41 -07:00
Hugo van Kemenade
57c72b6e00
Merge pull request #7484 from hugovk/setup-to-pyproject 2023-10-26 14:06:34 +03:00
Andrew Murray
91f115bead Fixed im.frombytes() for images with a zero dimension 2023-10-25 08:52:26 +11:00
Andrew Murray
5071692039 Fixed Image.frombytes() for images with a zero dimension 2023-10-25 08:52:06 +11:00
Yay295
5295df3b82 add test for autocontrast mode 2023-10-23 23:01:30 -05:00
Yay295
6ddf10c747
use format string instead of concatenation
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-10-23 21:46:54 -05:00
Andrew Murray
f54dd84586 Test unsupported autocontrast mode 2023-10-24 12:44:00 +11:00
Yay295
ef46608974
add mode to error message 2023-10-23 19:26:08 -05:00
Hugo van Kemenade
5fb892a9e2 Move version from setup.py to pyproject.toml 2023-10-22 20:35:21 +03:00
Hugo van Kemenade
adc64336ab
Add space
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-10-22 11:07:33 -06:00
Hugo van Kemenade
d8baf5e3de Bump setuptools for Pyroma on 3.8-3.9 2023-10-21 22:37:28 +03:00
Hugo van Kemenade
430920e2a8 Move build config from setup.cfg to pyproject.toml 2023-10-21 22:37:28 +03:00
Hugo van Kemenade
73c2eb460d Move tools config from setup.cfg to pyproject.toml 2023-10-21 16:23:40 +03:00
Hugo van Kemenade
d05ff5059f
Merge pull request #7481 from radarhere/gray 2023-10-20 08:52:46 +03:00
Andrew Murray
19aeed07bf Merge branch 'main' into gray 2023-10-20 07:47:17 +11:00
Hugo van Kemenade
a10dec01b5
Merge pull request #7480 from radarhere/lint 2023-10-19 19:02:28 +03:00
Andrew Murray
e760b02bfa Combine if and assert statement 2023-10-19 20:34:28 +11:00
Andrew Murray
d682c18ded Use "gray" more consistently 2023-10-19 19:12:01 +11:00
Andrew Murray
8b71f3d3c1 Added messages to errors 2023-10-19 18:42:41 +11:00
Hugo van Kemenade
0a6fcc2d97
Merge pull request #7472 from radarhere/libjpeg-turbo
Updated libjpeg-turbo to 3.0.1
2023-10-19 07:52:08 +03:00