Commit Graph

462 Commits

Author SHA1 Message Date
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
12559fffc5
Merge branch 'main' into type_hint 2024-06-04 08:18:14 +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
void4
2c4a6e1179 Add function and documentation to draw circle 2024-05-27 00:23:16 +02:00
Andrew Murray
8a3a72e51d Added type hints 2024-05-18 16:06:50 +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
Hugo van Kemenade
f8160b858a
Merge pull request #7936 from adamjstewart/types/fromarray 2024-04-17 16:43:57 +03: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
Andrew Murray
ec6a57f69d Updated description
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-01-02 21:27:12 +11:00
Andrew Murray
fd14824649 bbox on macOS is not 2x on retina screens 2024-01-02 19:15:13 +11:00
Nulano
0b2e2b224f document ImageCms.Flags 2024-01-01 21:40:41 +01:00
Nulano
26b2aa5165 document ImageCms.{ImageCmsProfile,Intent,Direction}; fix ImageCms.core.CmsProfile references
(cherry picked from commit f2b1bbcf65b327c14646d4113302e3df59555110)
2024-01-01 21:40:41 +01:00
Ondrej Baranovič
de381d0efb
Update docs/reference/internal_modules.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-12-27 16:17:51 +01:00
Nulano
3a4298d16c avoid hard dependency on typing_extensions 2023-12-27 14:55:30 +01:00
Andrew Murray
4c7eeec4fc
Merge pull request #7600 from nulano/anchor-clarify-docs
Clarify default anchor alignment
2023-12-13 07:36:00 +11:00
Nulano
af2d976880 clarify default anchor alignment 2023-12-12 17:22:19 +01:00
Hugo van Kemenade
7cc0482804
Merge pull request #6486 from REDxEYE/improved_dds 2023-12-06 22:51:05 +02:00
Andrew Murray
00c6a89177 Link to plugin 2023-12-06 11:10:20 +11:00
Nulano
984700b1f7 fix documentation link to PIL.ImageFont.Layout 2023-11-30 23:58:47 +01:00
Hugo van Kemenade
ca74a5ea42 Docs: link exceptions to Python docs 2023-11-01 20:18:25 +02:00
Hugo van Kemenade
ac6eb84704 Add 'pypi' Sphinx role 2023-10-30 08:56:42 +02:00
Andrew Murray
d682c18ded Use "gray" more consistently 2023-10-19 19:12:01 +11:00
Nulano
1979d43c99 fix typo in ImageOps.rst 2023-10-15 22:07:08 +02:00
Andrew Murray
c2d50881ee Added documentation 2023-10-14 11:01:57 +11:00