Commit Graph

493 Commits

Author SHA1 Message Date
Nulano
7885066e5f PIL.features: Add a compile-time zlib-ng feature flag and version number 2024-10-25 21:30:22 +02:00
Andrew Murray
8b3ef3784b Moved Buffer into _typing 2024-09-08 08:30:30 +10:00
Andrew Murray
e47b181084 Added type hints 2024-08-31 18:48:16 +10:00
Andrew Murray
8aa58e320f Rename _E to ImagePointTransform 2024-08-24 21:25:41 +10:00
Andrew Murray
e6e5ef5c5f Added type hints 2024-08-21 08:05:02 +10:00
Aleksandr Karpinskii
56ca359c65 Bring back removed features, add deprecations and Release notes 2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
a3468996c0 Remove webp animations flags and conditions
Removed:
_webp.WebPDecode
_webp.HAVE_WEBPANIM
features.webp_anim
2024-08-13 09:33:20 +04:00
Aleksandr Karpinskii
9bed5b4264 Remove _webp.WebPDecoderBuggyAlpha and _webp.HAVE_TRANSPARENCY 2024-08-13 09:26:04 +04:00
Aleksandr Karpinskii
c1e8375af8 Require webpmux and webpdemux 2024-08-13 09:24:52 +04:00
Andrew Murray
accfaf1c09 Added type hints 2024-07-30 20:20:09 +10:00
Andrew Murray
726cdf5eed Added type hints 2024-07-25 22:55:49 +10:00
Andrew Murray
f624460321 Added type hints 2024-07-20 13:14:18 +10:00
Andrew Murray
7248cde50b Documented keyword arguments 2024-07-18 11:00:27 +10:00
Andrew Murray
10faa5df39 Deprecate lambda_eval and unsafe_eval options argument 2024-07-17 22:08:53 +10:00
Andrew Murray
43cc1e3659 Removed PyAccess and Image.USE_CFFI_ACCESS 2024-07-01 20:31:17 +10:00
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