Commit Graph

2633 Commits

Author SHA1 Message Date
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
Andrew Murray
65d73ea970 Python 3.8 and 3.9 are tested on macOS 13 2024-04-29 18:54:16 +10:00
Andrew Murray
36869833c7 Added Ubuntu 24.04 2024-04-29 15:05:22 +10:00
Andrew Murray
39da704c61 Updated libimagequant to 4.3.1 2024-04-28 07:10:15 +10:00
Andrew Murray
f56a2c9b7e
Merge branch 'main' into bgr 2024-04-26 07:11:04 +10:00
Hugo van Kemenade
a1ff0da7e3
Merge pull request #8012 from radarhere/fedora 2024-04-25 09:36:49 +03:00
Andrew Murray
bc35bf0c9e Use split instead of datetime 2024-04-25 13:14:38 +10:00
Andrew Murray
02db411190 Added release notes 2024-04-25 09:14:48 +10:00
Andrew Murray
49ce63d257
Merge branch 'main' into bgr 2024-04-25 09:13:20 +10:00
Andrew Murray
03bcf03567 Removed Fedora 38 and added Fedora 40 2024-04-25 08:41:15 +10:00
Andrew Murray
ccf1efb3ef Use subprocess.DEVNULL 2024-04-24 23:06:06 +10:00
Hugo van Kemenade
d4a4b59ee3 Sphinx extension to add dates to release notes
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2024-04-22 15:48:19 +03:00
Andrew Murray
5a0a288dd0 Added release notes 2024-04-22 19:16:55 +10:00
Andrew Murray
e144e41879
Updated wording
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-22 19:14:23 +10:00
Andrew Murray
023d017da0 Deprecate libtiff < 4 2024-04-22 18:26:20 +10:00
Hugo van Kemenade
f8160b858a
Merge pull request #7936 from adamjstewart/types/fromarray 2024-04-17 16:43:57 +03:00
Hugo van Kemenade
a64f4cf685 Remove sphinx-removed-in, now Sphinx 7.3.0 adds versionremoved 2024-04-17 09:23:41 +03:00
Andrew Murray
cd179541b1 Removed nitpick_ignore by updating Sphinx to 7.3 2024-04-17 11:47:35 +10:00
Hugo van Kemenade
0e90c1c9ae
Merge pull request #7952 from nulano/types-imagestat 2024-04-16 20:57:14 +03:00
Andrew Murray
d431c97ba3 Deprecate BGR;15, BGR;16 and BGR;24 2024-04-15 19:28:52 +10:00
Andrew Murray
25b4652324 Removed CentOS Stream 8 2024-04-14 23:06:28 +10:00
Andrew Murray
3e1df0afeb Removed CentOS 7 2024-04-14 22:28:28 +10: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
84238bd459
Merge branch 'main' into types/fromarray 2024-04-07 08:32:48 +10:00
Andrew Murray
059b8e9171 Updated line formatting 2024-04-05 06:52:36 +11:00
Andrew Murray
0702f704fa
Remove commas
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-04-05 05:16:41 +11:00
Andrew Murray
2a2588d5df
Use extlink
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-05 05:09:11 +11:00
Andrew Murray
0cc5de4e09 Link to https://pypi.org/project/qoi 2024-04-04 12:17:02 +11:00
Andrew Murray
e85a84baa7 Added SupportsArrayInterface 2024-04-03 20:00:40 +11:00
Andrew Murray
8c57cd56a5 QoiImagePlugin uses PyDecoder 2024-04-03 12:00:02 +11:00
Andrew Murray
38e8112650 Updated macOS tested Pillow versions 2024-04-02 17:58:49 +11:00
jbjd
b37279a29c fix parameter name in ImageMath docs 2024-04-01 20:09:02 -05:00
Andrew Murray
aeb51cbb16
Merge branch 'main' into lcms 2024-04-01 19:26:55 +11:00
Andrew Murray
facf3af93d Added release notes 2024-04-01 09:25:59 +03:00
Andrew Murray
f6596d5293 Added release notes and document deprecation 2024-04-01 09:12:22 +03: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
Andrew Murray
d97585af5a
Merge pull request #7923 from hugovk/release-notes
Add type hints to release notes
2024-04-01 13:47:10 +11:00
Hugo van Kemenade
6d57e88237
Improve wording
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-03-31 17:41:46 +03:00
Hugo van Kemenade
edd620a352 Add type hints to release notes 2024-03-31 15:56:57 +03:00
Andrew Murray
46b0b0e57d
Merge branch 'main' into types-cms2 2024-03-31 07:22:40 +11:00
Ondrej Baranovič
94732782d0
link to sphinx issue
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-03-30 10:26:39 +01:00
Hugo van Kemenade
0b1d0c23de
Merge pull request #7658 from nulano/build-editable 2024-03-30 11:10:46 +02:00
Nulano
a81b945129 Update CmsProfile docs to match _imagingcms type stubs 2024-03-28 17:26:05 +01:00
Nulano
21566ebcdc add type hints to pyCms functions in ImageCms 2024-03-28 17:23:54 +01:00
Hugo van Kemenade
6464d5cf91
Merge pull request #7894 from radarhere/fits_gzip 2024-03-28 18:09:55 +02:00
Andrew Murray
142473c7b4 Support GZIP_1 compression 2024-03-26 21:29:28 +11:00
Andrew Murray
fb84c546b7 Removed references to the "current version" 2024-03-26 06:00:03 +11:00
Andrew Murray
38f9193796 Added release notes for #7872 2024-03-25 10:35:00 +11:00
Andrew Murray
d7dba1cc67 Added release notes for #7882 2024-03-25 10:04:02 +11:00
Andrew Murray
0248e41800 Added release notes for #7891 2024-03-25 10:02:19 +11:00
Jeffrey A. Clark
567ee6bdaa
Update docs/conf.py
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-03-23 17:50:41 -04:00
pre-commit-ci[bot]
66ef6ad9ac [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-23 13:49:20 +00:00
Jeffrey A. Clark (Alex)
4197263dff Clean up authors and contributors
- `s/Jeffrey A. Clark (Alex)/Jeffrey A. Clark/g`. People can figure out that I am Alex.
- We've added "contributors" to Fredrik's copyright statements because it seems appropriate that it be there based on: https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst#02b5-117.
- Fredrik is the PIL author and I am the Pillow author.
- Consistently apply all of the above everywhere.
2024-03-23 09:40:39 -04:00
Hugo van Kemenade
3bbc865afc
Merge pull request #7872 from radarhere/webp_alpha_quality 2024-03-21 18:20:40 +02:00
Andrew Murray
0c436023a0 Corrected heading 2024-03-17 22:06:56 +11:00
Andrew Murray
73bb28c866 Removed blank lines 2024-03-17 21:59:57 +11:00
Andrew Murray
4f677f2183 Reordered sections to match template 2024-03-17 21:59:46 +11:00
Andrew Murray
d2dfb2f87f Swap order to match description 2024-03-17 21:43:04 +11:00
Andrew Murray
4ef6e4ef9b Highlight code 2024-03-17 21:41:55 +11:00