Commit Graph

478 Commits

Author SHA1 Message Date
Hugo van Kemenade
56521137be
Merge pull request #8086 from radarhere/load_default_imagefont 2024-06-28 00:18:55 -06:00
Hugo van Kemenade
3fdaecb025
Merge pull request #8063 from radarhere/possible_formats 2024-06-28 00:18:10 -06:00
Hugo van Kemenade
29fa677276
Merge pull request #7963 from radarhere/example 2024-06-25 05:28:29 -06:00
Andrew Murray
d2b5e11d2b
Merge pull request #8032 from nulano/type_hints
Added type hints for PixelAccess related methods and others
2024-06-25 19:15:31 +10:00
Andrew Murray
2f85bf178b Merge branch 'main' into load_default_imagefont 2024-06-24 08:04:53 +10:00
Andrew Murray
324e548e52 Added type hints to ImageFilter 2024-06-21 20:41:22 +10:00
Nulano
b64847e07f Do not use a protocol for PixelAccess object 2024-06-19 21:48:48 +02:00
Andrew Murray
7ab3aee7bc
Merge branch 'main' into xmp 2024-06-19 09:06:10 +10:00
Nulano
31a8da48ee Merge remote-tracking branch 'upstream/main' into type_hints
# Conflicts:
#	src/PIL/Image.py
2024-06-12 21:06:31 +02:00
Andrew Murray
5bacce9dc2
Merge pull request #8046 from srittau/type-annotations
Add various type annotations
2024-06-08 18:38:21 +10:00
Andrew Murray
45cdc53bbb Updated type hints 2024-06-08 18:03:06 +10:00
Andrew Murray
eba2694498
Merge branch 'main' into xmp 2024-06-05 15:53:46 +10:00
Andrew Murray
12559fffc5
Merge branch 'main' into type_hint 2024-06-04 08:18:14 +10:00
Andrew Murray
6affb123c3
Merge branch 'main' into type_hints 2024-05-31 08:06:42 +10:00
Andrew Murray
12cefd798e Added method links to release notes 2024-05-27 21:48:38 +10: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
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
930c423db1 Added ImageFont.load_default_imagefont() 2024-05-27 17:08:13 +10:00
void4
2c4a6e1179 Add function and documentation to draw circle 2024-05-27 00:23:16 +02:00
Andrew Murray
0f1a0fc501 Improved consistency of XMP handling 2024-05-20 23:11:50 +10:00
Andrew Murray
8a3a72e51d Added type hints 2024-05-18 16:06:50 +10:00
Andrew Murray
1036aa74a7 Added Image.WARN_POSSIBLE_FORMATS 2024-05-16 17:47:35 +10:00
Andrew Murray
13cf2bc70f Moved SupportsArrayInterface under Protocols heading 2024-05-11 11:16:52 +10:00
Sebastian Rittau
9b44abb6b7 Add SupportsGetData to documentation 2024-05-10 11:48:36 +02:00
Nulano
5f805c39cc Added type hints for PixelAccess methods and others 2024-04-29 23:52:51 +02:00
Hugo van Kemenade
f8160b858a
Merge pull request #7936 from adamjstewart/types/fromarray 2024-04-17 16:43:57 +03:00
Andrew Murray
34b3cb519c Converted example images to WebP 2024-04-10 23:37:38 +10:00
Nulano
bcb2db6a87 ImageStat: use functools.cached_property and add type hints 2024-04-07 00:46:16 +02:00
Andrew Murray
e85a84baa7 Added SupportsArrayInterface 2024-04-03 20:00:40 +11:00
jbjd
b37279a29c fix parameter name in ImageMath docs 2024-04-01 20:09:02 -05:00
Andrew Murray
f932cb895f Added danger alerts 2024-04-01 09:12:15 +03:00
Andrew Murray
a7e82cbe9a Removed "In the current version" 2024-04-01 09:12:04 +03:00
Andrew Murray
27b10c4bd8 Deprecate eval(), replacing it with lambda_eval() and unsafe_eval() 2024-04-01 09:11:59 +03:00
Nulano
a81b945129 Update CmsProfile docs to match _imagingcms type stubs 2024-03-28 17:26:05 +01:00
Andrew Murray
fb84c546b7 Removed references to the "current version" 2024-03-26 06:00:03 +11:00
Andrew Murray
dcbe402f77 Changed SupportsGetMesh protocol to be public 2024-02-29 20:16:41 +11:00
Hugo van Kemenade
3977124908
Update docs/reference/internal_modules.rst
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-02-10 14:54:20 +02:00
Hugo van Kemenade
61d47c3dfa More support for arbitrary os.PathLike 2024-01-27 14:06:06 +02:00
Hugo van Kemenade
231d54b9df Replace io.BytesIO in type hints 2024-01-22 23:21:56 +02:00
Hugo van Kemenade
5baace9eb7
Merge pull request #7702 from nulano/deprecate-cms-constants 2024-01-11 10:51:21 +02:00
Andrew Murray
1e8a03cd2d Link to Python enum documentation 2024-01-09 13:47:21 +01:00
Nulano
edc46e223b document ImageCms deprecations 2024-01-08 01:27:41 +01:00
Andrew Murray
ba6399cad1 Added PerspectiveTransform 2024-01-07 19:34:27 +11:00
Hugo van Kemenade
fcaed26ab1
Merge pull request #7676 from nulano/lcms2-flags 2024-01-06 16:43:20 +02:00
Andrew Murray
c46cf19a58
Merge pull request #7684 from nulano/docs-imagetransform
Improve ImageTransform documentation
2024-01-06 06:45:19 +11:00
Andrew Murray
d134110ace If bbox is omitted, screenshot is taken at 2x on Retina screens 2024-01-03 09:01:35 +11:00
Nulano
fc7088a561 improve ImageTransform documentation 2024-01-02 14:52:12 +01:00
Ondrej Baranovič
81ea98e494
document ImageCmsTransform's base class
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-01-02 14:10:07 +01:00