Commit Graph

2694 Commits

Author SHA1 Message Date
Andrew Murray
72bc56b319
Merge branch 'main' into imagecms_core 2024-09-08 23:21:25 +10:00
Hugo van Kemenade
f30eefaae2
Merge pull request #8354 from radarhere/type_hint 2024-09-08 16:19:08 +03:00
Hugo van Kemenade
2f13c4588d
Fix underline
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-08 16:17:13 +03:00
Andrew Murray
6231453895 Group 11.0.0 deprecations 2024-09-08 21:53:08 +10:00
Andrew Murray
8b3ef3784b Moved Buffer into _typing 2024-09-08 08:30:30 +10:00
Hugo van Kemenade
2c02146cf4
Use type hints and fix CVE role
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-07 12:32:30 +03:00
Hugo van Kemenade
d3c1d99d00 Deprecate support for FreeType 2.9.0 2024-09-06 14:51:30 +03:00
Andrew Murray
93a0bf0276 Added type hints to TiffImagePlugin _save 2024-09-06 21:33:30 +10:00
Andrew Murray
94315f87c3 Removed unused IFD_LEGACY_API 2024-09-06 19:13:35 +10:00
Andrew Murray
06c331af5d Added type hints to frombuffer 2024-09-06 15:16:59 +10:00
Andrew Murray
a6f5f4dd43 Deprecate setting size to (width, height, scale) 2024-09-06 11:42:56 +10:00
Andrew Murray
e625f73119 Added scale argument to IcnsImageFile load() 2024-09-06 11:40:45 +10:00
Hugo van Kemenade
eaeda4a6be
Merge pull request #8339 from radarhere/type_hint 2024-09-04 14:57:01 +03:00
Hugo van Kemenade
8aa1e9209b
Merge pull request #8336 from radarhere/type_hint_imagefile 2024-09-04 14:56:23 +03:00
Hugo van Kemenade
7afa789c5d
Merge pull request #8284 from radarhere/libimagequant 2024-09-04 10:48:13 +03:00
Andrew Murray
e47b181084 Added type hints 2024-08-31 18:48:16 +10:00
Andrew Murray
d00f3656a6 Changed im.tile to never be None 2024-08-30 22:28:03 +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
Andrew Murray
d4c72da6b2 Added type hints to example code 2024-08-15 14:10:31 +10:00
Andrew Murray
8afb7ddb4e Added type hints 2024-08-15 08:08:43 +10:00
Andrew Murray
45552b5b4f Updated documentation 2024-08-14 18:36:06 +10:00
Aleksandr Karpinskii
6180abc75c Remove WebP versions notes from docs 2024-08-13 09:34:49 +04: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
e938283eb9 Allow docs to build without lcms2 2024-08-09 20:56:14 +10:00
Andrew Murray
13c00bab86 Updated libimagequant to 4.3.3 2024-08-06 11:16:57 +10:00
Alexander Karpinsky
d8447de24d
Merge pull request #8211 from uploadcare/remove-c-flags
Remove all WITH_* flags from _imaging.c and other flags
2024-08-02 16:10:10 +04:00
Andrew Murray
488e1982bd Added removal version and date 2024-08-01 16:29:46 +10:00
Andrew Murray
e6fd8359d3 Deprecate huffman_ac and huffman_dc 2024-08-01 12:27:45 +10:00
Andrew Murray
accfaf1c09 Added type hints 2024-07-30 20:20:09 +10:00
Aleksandr Karpinskii
302962dae1 Updated comments
by @radarhere, lost during rebase
2024-07-28 17:20:14 +04:00
Aleksandr Karpinskii
a6d83ec9cc Add relesenotes 2024-07-28 17:09:31 +04:00
Andrew Murray
726cdf5eed Added type hints 2024-07-25 22:55:49 +10:00
Hugo van Kemenade
fddc902c35
Merge pull request #8246 from python-pillow/tutorial-images 2024-07-24 10:48:25 +03:00
Andrew Murray
8f4dbfe6a6 Simplified code 2024-07-24 06:56:59 +10:00
Andrew Murray
888b2f716e Improved consistency of example paths 2024-07-24 06:56:42 +10:00
Andrew Murray
cf6ec5e065 Converted images to WebP 2024-07-24 06:44:06 +10:00
Jeffrey A. Clark (Alex)
96fa1f5dbf multiply each pixel by 20 2024-07-23 14:55:04 -04:00
Jeffrey A. Clark (Alex)
ddc02bb78c Update and add image to PostScript printing example 2024-07-20 14:41:47 -04:00
Andrew Murray
f624460321 Added type hints 2024-07-20 13:14:18 +10:00
Jeffrey A. Clark
eff22bc34e
Update docs/handbook/tutorial.rst
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-19 09:00:26 -04:00
Andrew Murray
4db8140426 Removed unused image 2024-07-19 18:49:04 +10:00
Andrew Murray
54055c76c4 Converted images to WebP 2024-07-19 18:45:00 +10:00
Andrew Murray
1daaef02cd Updated code to match image 2024-07-19 18:27:00 +10:00
Andrew Murray
c337dfe98a Correct reference 2024-07-19 14:41:51 +10:00
Jeffrey A. Clark (Alex)
96a1af9fa8 Add tutorial images
Animated gif example
2024-07-18 18:33:14 -04:00
Jeffrey A. Clark (Alex)
18d8020cab Add tutorial images 2024-07-18 15:17:32 -04: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
7e1a6be767
Updated macOS tested Pillow versions (#8202)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-07-05 13:05:59 +03:00
Hugo van Kemenade
51bd7d2ea8
Drop support for Python 3.8 (#8183)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-03 00:44:45 -06:00
Hugo van Kemenade
40d3b2ce0c Fix version range
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-02 21:53:23 +03:00
Hugo van Kemenade
e50df021e8 Add support for Python 3.13 2024-07-02 21:48:48 +03:00
Andrew Murray
06cad14767
Merge pull request #8185 from radarhere/debian
Removed Debian 11
2024-07-02 07:58:16 +10:00
Andrew Murray
31e64a0da8 Updated CVE URL 2024-07-01 23:06:57 +10:00
Andrew Murray
381c604b07 Removed Debian 11 2024-07-01 23:06:39 +10:00
Andrew Murray
9bc1365ea0 Removed reference 2024-07-01 21:41:08 +10:00
Andrew Murray
43cc1e3659 Removed PyAccess and Image.USE_CFFI_ACCESS 2024-07-01 20:31:17 +10:00
Hugo van Kemenade
2a660bbe9f Remove PSFile class, deprecated in Pillow 9.5.0 2024-07-01 10:58:27 +03:00
Andrew Murray
c9ec76aa0d Raise FileNotFoundError if show_file() path does not exist 2024-06-28 21:27:56 +10:00
Hugo van Kemenade
4d6dff34db
Merge pull request #8031 from radarhere/imagingcms_modes 2024-06-28 04:05:40 -06: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
eea3ac765c Deprecate non-image and unsupported modes 2024-06-12 22:44:03 +10:00
Andrew Murray
9f831317fe
Updated text
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-06-10 16:47:18 +10:00
Andrew Murray
e225f9f589 Deprecate ImageDraw.getdraw hints argument 2024-06-10 11:50:13 +10: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
Hugo van Kemenade
ddfdae1d4f
Merge pull request #8025 from radarhere/libimagequant 2024-06-07 03:46:00 -06:00
Hugo van Kemenade
148f0d345f Use Sphinx long options in Makefile 2024-06-06 09:38:38 +03: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
35a700a1d4
Update 10.4.0.rst - Add PIL.ImageDraw.circle() API addition 2024-05-27 13:14:04 +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
d461ff8cef Added release notes 2024-05-22 11:50:10 +10: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
Andrew Murray
b60b6063dd
Merge branch 'main' into type_hints 2024-04-30 18:16:55 +10:00
Hugo van Kemenade
ddbf08fa78
Merge pull request #8023 from radarhere/ubuntu 2024-04-30 10:45:50 +03:00
Nulano
5f805c39cc Added type hints for PixelAccess methods and others 2024-04-29 23:52:51 +02:00