Commit Graph

18056 Commits

Author SHA1 Message Date
Andrew Murray
e9c9f19c26 Do not use first frame duration for other frames when saving 2024-06-04 18:46:35 +10:00
Andrew Murray
1794a946b7
Merge pull request #8100 from python-pillow/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2024-06-04 18:41:21 +10:00
pre-commit-ci[bot]
322814d7ce [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.7)
- [github.com/pre-commit/mirrors-clang-format: v18.1.4 → v18.1.5](https://github.com/pre-commit/mirrors-clang-format/compare/v18.1.4...v18.1.5)
- [github.com/python-jsonschema/check-jsonschema: 0.28.2 → 0.28.4](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.2...0.28.4)
- [github.com/abravalheri/validate-pyproject: v0.16 → v0.18](https://github.com/abravalheri/validate-pyproject/compare/v0.16...v0.18)
2024-06-04 10:50:57 +03:00
Andrew Murray
c1f10c107a
Merge branch 'main' into type_hints 2024-06-04 08:29:05 +10:00
Andrew Murray
12559fffc5
Merge branch 'main' into type_hint 2024-06-04 08:18:14 +10:00
Andrew Murray
219add0239
Merge pull request #8099 from radarhere/types
Added type hints
2024-06-04 07:26:45 +10:00
Andrew Murray
f5da04adb0 Added type hints
Co-authored-by: Nulano <nulano@nulano.eu>
2024-06-03 21:58:02 +10:00
Hugo van Kemenade
95a69ec698
Merge pull request #8098 from radarhere/lcms_version 2024-06-03 00:40:32 -06:00
Andrew Murray
d566c04d5b Updated type hints 2024-06-03 14:20:01 +10:00
Andrew Murray
8dae9b618f Corrected type hint 2024-06-03 08:50:46 +10:00
Hugo van Kemenade
eeb1eeab20
Merge pull request #8096 from radarhere/createprofile 2024-06-02 08:14:59 -06:00
Andrew Murray
4aba0b8238 Changed default colorTemp 2024-06-02 16:27:05 +10:00
Andrew Murray
54150f2061 Corrected docstring 2024-06-02 16:26:35 +10:00
Hugo van Kemenade
4f4b0bc748
Merge pull request #8095 from radarhere/type_hints_tests 2024-06-01 14:45:08 -06:00
Andrew Murray
66ab7e0de2 Added type hints 2024-06-01 21:31:53 +10:00
Hugo van Kemenade
33c31cb942
Merge pull request #8093 from radarhere/type_hints_tests 2024-06-01 03:52:31 -06:00
Andrew Murray
6affb123c3
Merge branch 'main' into type_hints 2024-05-31 08:06:42 +10:00
Andrew Murray
afc7d8d0b0 Added type hints 2024-05-30 17:17:22 +10:00
Hugo van Kemenade
c7574392b0
Merge pull request #8091 from radarhere/type_hints_tests 2024-05-30 09:08:11 +03:00
Andrew Murray
e68cec640a Added type hints 2024-05-30 12:00:50 +10:00
Hugo van Kemenade
a49a42aeea
Merge pull request #8090 from radarhere/type_hints_tests 2024-05-29 17:55:18 +03:00
Andrew Murray
a6d1daeb4b Added type hints 2024-05-29 22:51:02 +10:00
Andrew Murray
759ab28757 Update CHANGES.rst [ci skip] 2024-05-28 22:16:04 +10:00
Hugo van Kemenade
fdf103c5ad
Merge pull request #8085 from void4/imagedraw_circle 2024-05-28 12:35:31 +03:00
void4
3a34f44bcf
Merge pull request #1 from radarhere/imagedraw_circle
Added test
2024-05-27 18:28:15 +02:00
Andrew Murray
cac1a04329 Added test 2024-05-27 21:59:32 +10:00
Andrew Murray
12cefd798e Added method links to release notes 2024-05-27 21:48:38 +10:00
void4
8db5fbead1
Update src/PIL/ImageDraw.py - set circle argument xy to type Sequence[float] instead of Coords, radius to float
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-05-27 13:27:56 +02:00
void4
9b7556228e
Update docs/reference/ImageDraw.rst - move versionadded
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-05-27 13:21:41 +02:00
pre-commit-ci[bot]
034f3cbed5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-27 11:19:12 +00:00
void4
773ff20b76
Update docs/reference/ImageDraw.rst - move circle method up to indicate it is new
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-05-27 13:18:47 +02:00
void4
35a700a1d4
Update 10.4.0.rst - Add PIL.ImageDraw.circle() API addition 2024-05-27 13:14:04 +02:00
void4
38e6913579
Simplify circle() by reusing ellipse() 2024-05-27 13:01:10 +02:00
void4
8d9a4dda98
Update docs/reference/ImageDraw.rst - Set versionadded
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-05-27 12:57:50 +02:00
Andrew Murray
f34360d1e3 When saving multiple frames, convert to mode rather than raw mode 2024-05-27 18:09:46 +10:00
Hugo van Kemenade
bbe1effd63
Merge pull request #8082 from Yay295/patch-4 2024-05-27 08:39:34 +03:00
pre-commit-ci[bot]
2ee3cef50e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-26 22:25:16 +00:00
void4
2c4a6e1179 Add function and documentation to draw circle 2024-05-27 00:23:16 +02:00
Andrew Murray
82d9926905 Split depth/type into bit depth and color type 2024-05-26 10:04:44 -05:00
Yay295
1b878189d8
don't reuse variable name 2024-05-26 02:25:45 -05:00
Hugo van Kemenade
8b14ed741a
Merge pull request #8079 from radarhere/imagefont 2024-05-25 16:16:07 +03:00
Andrew Murray
1a6b0bb6b5 Removed documentation of unused argument 2024-05-25 19:30:20 +10:00
Andrew Murray
2c9b5f0360 Updated Ghostscript to 10.3.1 2024-05-25 06:20:03 +10:00
Hugo van Kemenade
3c2d36e113
Merge pull request #8037 from radarhere/cached_property 2024-05-24 14:19:54 +03:00
Andrew Murray
16cd358454 Update CHANGES.rst [ci skip] 2024-05-24 20:32:52 +10:00
Andrew Murray
5baabb59bc
Merge pull request #8077 from Yay295/patch-4
Add mypy task to makefile
2024-05-24 20:27:47 +10:00
Yay295
92d1879a77
add mypy task to makefile 2024-05-23 13:27:53 -05:00
Hugo van Kemenade
4b68563e8a
Merge pull request #8071 from radarhere/wheels 2024-05-23 17:08:58 +03:00
Andrew Murray
804fe7bbf8 Do not read layers when opening 2024-05-23 17:50:50 +10:00
Andrew Murray
2dedeef832 Support unpacking more rawmodes to RGBA palette 2024-05-22 20:05:07 +10:00