Commit Graph

1508 Commits

Author SHA1 Message Date
Hugo van Kemenade
e0eec1eb56 Merge branch 'master' into rm-3.5 2020-09-01 20:16:46 +03:00
Andrew Murray
8c891a21d7 Without the Bitbucket repo, there is no place for PIL issues [ci skip] 2020-09-01 21:36:57 +10:00
nulano
9667d5c6cc
Merge branch 'master' into mingw-setup 2020-08-31 14:18:39 +01:00
nulano
22b8b25f2f update CI targets 2020-08-31 00:50:45 +02:00
nulano
3099ca6473 document installation on MSYS2 2020-08-30 05:07:32 +02:00
Tommy C
b142560488 Rename b_circle and bounding_circle + accept ((x0, y0), r)
Summary of changes

- Rename `b_circle` and `bounding_circle`
-`bounding_circle` now accepts both formats below:
    - (x0, y0, r)
    - ((x0, y0), r)
2020-08-22 20:19:23 +01:00
Tommy C
df9329f9f0 Replace bbox with b_circle, kwargs with args + minor tweaks
Summary of changes:
 - `ImageDraw.regular_polygon` now accepts a bounding circle which
inscribes the polygon. A bounding circle is defined by a center point
(x0, y0) and a radius. A bounding box is no longer accepted.
 - All keyword args have been replaced with positional args.

Misc
- Test image file renaming, minor variable name changes
2020-08-20 20:46:11 +01:00
Hugo van Kemenade
ff635923b2
Update release notes: Add mask parameter to autocontrast 2020-08-19 16:33:23 +03:00
Tommy C
ac7d41545d Update regular_polygon args + arg checks
Summary of changes

- Allow positional args in `regular_polygon` method
- Allow multiple bounding box formats
    - (e.g. bbox = [(x0, y0), (x1, y1)] or [x0, y0, x1, y1])
- Check if bounding box is square
- Update var names
    - b_box => bbox
    - nb_sides => n_sides
2020-08-16 21:07:16 +01:00
Tommy C
0ed01dd964 Add ImageDraw.regular_polygon 2020-08-16 13:29:13 +01:00
Andrew Murray
945a0e27f1
Merge pull request #4845 from hugovk/add-8.0.0-release-notes
Add release notes for 8.0.0 and a template
2020-08-15 13:41:44 +10:00
nulano
d36850e037 fix docs typos 2020-08-11 02:14:13 +02:00
nulano
6cd0d60315 use code formatting instead of emphasis where applicable [ci skip] 2020-08-11 00:54:12 +02:00
Andrew Murray
f67f819a3d Explicitly declare code as Python [ci skip] 2020-08-10 23:04:09 +10:00
Andrew Murray
d53602ea6e
Explicitly declare code as Python [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-10 22:46:36 +10:00
Andrew Murray
04f856b13c Added an example importing SpamImagePlugin [ci skip] 2020-08-10 21:57:18 +10:00
Andrew Murray
dfca48df1b Combine extensions into register_extensions [ci skip] 2020-08-10 21:26:41 +10:00
Hugo van Kemenade
ecc9cf3d73
"cutoff" can also be a float
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-08-10 14:14:12 +03:00
nulano
bf4e918252
adjust table marker lines to match the longest row
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-09 20:48:44 +01:00
nulano
2c460c3ba1 simplify ImageCms links in docs 2020-08-09 20:44:51 +02:00
Hugo van Kemenade
24c1a32ed3 Add release notes for 8.0.0 and a template 2020-08-09 20:08:38 +03:00
Hugo van Kemenade
dd87dd50c0 Update to isort 5 with Black profile support 2020-08-08 22:39:29 +03:00
Hugo van Kemenade
dece040ee8 Fix RST backticks 2020-08-08 22:39:28 +03:00
Hugo van Kemenade
10615a7da7 Upgrade Python syntax for 3.6+
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-30 10:09:18 +03:00
Andrew Murray
11de331886
Merge pull request #4798 from hugovk/rm-deprecated-notimplemented
Remove long-deprecated Image.py functions
2020-07-24 20:48:20 +10:00
Andrew Murray
836dcc5ba0 Document missing attributes 2020-07-23 22:40:02 +10:00
Hugo van Kemenade
ea96cbeddc
Alphabetise
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-07-22 12:10:23 +03:00
Andrew Murray
7f829b60c9 MAX_IMAGE_PIXELS can be changed 2020-07-21 23:01:51 +10:00
Hugo van Kemenade
b8ccd97d75
Update title
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-07-21 15:55:32 +03:00
Andrew Murray
5abf0eb4f3 Include reference to DecompressionBombError 2020-07-21 21:46:31 +10:00
Andrew Murray
265bfef36e Improved documentation 2020-07-21 20:46:50 +10:00
Andrew Murray
d98b85d386
Capitalise and hyphenate [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-20 23:08:25 +10:00
Andrew Murray
9db4a84983 Documented MAX_IMAGE_PIXELS 2020-07-20 21:16:33 +10:00
Hugo van Kemenade
45f09b4139
Tested 7.2.0 with 3.5-3.8 on macOS Mojave 2020-07-18 17:08:25 +03:00
Andrew Murray
bd65c1071e Updated macOS tested Pillow versions [ci skip] 2020-07-18 20:11:00 +10:00
Hugo van Kemenade
415a4aa8ac Add PIL.Image.Image.frombytes to docs 2020-07-18 10:13:18 +03:00
Hugo van Kemenade
39bc25e28a
Link to the replacement functions
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-18 10:09:15 +03:00
Hugo van Kemenade
40aefc6ba5 Remove im.offset, deprecated in 2001; and fromstring and tostring, deprecated in 2013 2020-07-17 10:55:20 +03:00
Andrew Murray
80402e419a Updated CI targets [ci skip] 2020-07-16 21:50:43 +10:00
Andrew Murray
b2370b6055 Added further Ubuntu code names [ci skip] 2020-07-16 20:33:17 +10:00
Andrew Murray
d0cad3331a
Added Ubuntu 16.04 code name [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-16 20:31:07 +10:00
Andrew Murray
e866143eff Removed Docker images running Python 3.5 2020-07-16 20:17:25 +10:00
Hugo van Kemenade
1cb36cd33c
Merge pull request #4781 from radarhere/releasenotes
Added description of release cycle
2020-07-15 13:44:44 +03:00
Andrew Murray
45564fe89d Removed domain references when referring to hypothetical code 2020-07-14 22:36:46 +10:00
Andrew Murray
470bf71e7a Removed domain references from image expressions 2020-07-14 22:36:42 +10:00
Andrew Murray
cd10404abb Corrected reference 2020-07-14 22:36:36 +10:00
Andrew Murray
1f652954ba
Merge pull request #4746 from hugovk/rm-soon-eol-3.5
Drop support for EOL Python 3.5
2020-07-14 20:37:51 +10:00
Andrew Murray
2cec9f98a4 Updated CI targets [ci skip] 2020-07-12 15:03:10 +10:00
Andrew Murray
291208b581
Merge pull request #4768 from hugovk/rm-deprecated-ImageCms.CmsProfile-attributes
Remove ImageCms.CmsProfile attributes deprecated since 3.2.0
2020-07-12 08:10:34 +10:00
Hugo van Kemenade
27c5938530
Merge branch 'master' into refs-nitpick 2020-07-11 15:23:36 +03:00
nulano
8d105aae18 fix MAX_PIXELS typo 2020-07-11 12:38:00 +02:00
nulano
7ce6a15062 Merge remote-tracking branch 'upstream/master' into refs-animated
# Conflicts:
#	docs/reference/Image.rst
2020-07-11 12:33:36 +02:00
Hugo van Kemenade
a2fa484c06 Add Python 3.9 column 2020-07-11 13:18:52 +03:00
Hugo van Kemenade
a8fabf9521
Merge branch 'master' into refs-nitpick 2020-07-11 12:44:25 +03:00
Hugo van Kemenade
4ca7e7e699
Merge pull request #4771 from nulano/refs-misc 2020-07-11 12:42:50 +03:00
Andrew Murray
c22328e3aa Added description of release cycle [ci skip] 2020-07-11 13:57:35 +10:00
nulano
1ac943991a Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-11 13:25:10 +10:00
nulano
7a660d548d fix ImageQt reference 2020-07-11 13:25:10 +10:00
nulano
39b5d7b4ac fix TiffTags and Exif related references 2020-07-11 13:25:10 +10:00
nulano
885ca9bb03 add omitted ImageFilter types 2020-07-11 13:25:10 +10:00
nulano
f6b4c3f741 don't link to removed methods 2020-07-11 13:25:10 +10:00
nulano
ec2b549a4d fix _imaging and Image.core references 2020-07-11 13:25:10 +10:00
nulano
73c5dffb5a fix ImageTransformHandler and ImagePointHandler references 2020-07-11 13:25:10 +10:00
nulano
0083ebb3d4 fix various reference typos 2020-07-11 13:25:10 +10:00
nulano
1fa01b0135 fix iTXt and PngInfo heading references 2020-07-11 13:23:19 +10:00
nulano
9c277f5c49 document PngImagePlugin constants 2020-07-11 13:23:19 +10:00
Andrew Murray
5e9e501591 Updated documentation [ci skip] 2020-07-11 13:13:49 +10:00
Hugo van Kemenade
fc1f16b616
Merge pull request #4774 from nulano/refs-std 2020-07-10 17:45:04 +03:00
Hugo van Kemenade
384523fab2 Fix PostScript typos 2020-07-10 11:48:02 +03:00
Hugo van Kemenade
f8ddb3aa48
Update version
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-10 10:43:13 +03:00
nulano
a04a10e7e3 ignore some nitpicky warnings 2020-07-10 01:49:09 +02:00
nulano
6db12b29d9 enable nitpicky warnings for docs builds 2020-07-10 01:48:42 +02:00
nulano
9589159585 use cross-reference for None value 2020-07-10 00:08:27 +02:00
nulano
af5e0fa2aa add Python stdlib intersphinx mapping 2020-07-10 00:08:19 +02:00
nulano
c244ecf245 avoid suggesting that Pillow understands animation in all formats
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-07-09 17:16:41 +02:00
Hugo van Kemenade
559510b378 Remove attributes deprecated since 3.2.0 2020-07-09 23:53:22 +10:00
Hugo van Kemenade
7c03590bcb Re-document deprecation versions of removals 2020-07-09 13:28:07 +03:00
Hugo van Kemenade
4323d975be Use sphinx_removed_in extension for the '.. versionremoved::' directive 2020-07-09 13:28:07 +03:00
Andrew Murray
91bd2d3752 Altered descriptions [ci skip] 2020-07-05 13:34:40 +01:00
Hugo van Kemenade
109c637ddb 'plugin', formatting and typos 2020-07-03 09:38:30 +03:00
nulano
74899cd6cf
Merge branch 'master' into refs-animated 2020-07-02 12:58:09 +01:00
Hugo
6cdeb55118 Drop support for soon-EOL Python 3.5 2020-06-30 13:55:08 +03:00
Hugo van Kemenade
20282dd23c
Merge pull request #4733 from nulano/refs-mod
Fix documentation references: modules
2020-06-29 11:57:53 +03:00
nulano
9019af5f32
Merge branch 'master' into refs-const 2020-06-28 10:55:26 +01:00
Hugo van Kemenade
977094d4b5
Merge pull request #4735 from nulano/refs-type 2020-06-28 09:41:37 +03:00
Hugo van Kemenade
780294302d
Merge pull request #4734 from nulano/refs-missing 2020-06-28 09:29:31 +03:00
Andrew Murray
510307532e
Merge pull request #4737 from nulano/refs-image
Fix documentation references: omitted Image functions
2020-06-28 15:43:22 +10:00
Andrew Murray
4ae694cd7b
Merge pull request #4712 from cool-RR/2020-06-12-raise-from
Fix exception causes all over the codebase
2020-06-28 15:22:05 +10:00
nulano
f5b4565d8c document is_animated and n_frames 2020-06-27 17:24:13 +02:00
nulano
4f1ee7a881 add missing and sort Image functions
(cherry picked from commit f31c786aa6)
2020-06-27 15:40:43 +02:00
nulano
19dd5cbfab fix some function references
(cherry picked from commit 9fb582940d)
2020-06-27 15:40:37 +02:00
nulano
3342270947 fix Image constants references
(cherry picked from commit 5511111f3b)
2020-06-27 15:39:55 +02:00
nulano
8b005dfe33 fix base Image attribute references
(cherry picked from commit 07cc74d38b)
2020-06-27 15:38:52 +02:00
nulano
5e4c3ae554 fix ImageMath creating false index entries
(cherry picked from commit eebecba3c2)
2020-06-27 15:37:35 +02:00
nulano
bd2c705606 fix CmsProfile type references
(cherry picked from commit 6196695156)
2020-06-27 15:37:29 +02:00
nulano
2761a02d13 fix module references
(cherry picked from commit b077850baa)
2020-06-27 15:33:55 +02:00
nulano
471f24f660 fix PyCMSError references
(cherry picked from commit 63d0fb4f70)
2020-06-27 15:33:05 +02:00
nulano
e4210eb8d7 fix ImageFile references
(cherry picked from commit 6ac071782f)
2020-06-27 15:30:45 +02:00
Hugo van Kemenade
92561bdcdc
Merge pull request #4697 from nulano/docs-imageshow 2020-06-27 14:09:44 +03:00
Andrew Murray
ee06255ff0 Deprecated _showxv 2020-06-23 22:20:58 +10:00
Andrew Murray
d7b812fcb2 Added release notes for #4646 [ci skip] 2020-06-23 21:50:23 +10:00
Andrew Murray
9979efff12
Merge pull request #4646 from nulano/show-command
Deprecate Image.show(command="...")
2020-06-23 19:47:57 +10:00
nulano
224ef2fadd require sphinx>=2.4 2020-06-22 05:18:51 +02:00
Hugo van Kemenade
1bc67c9f0f
Merge pull request #4700 from nulano/features-version 2020-06-21 21:36:46 +03:00
nulano
66eee05a37
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-06-21 18:47:30 +01:00
nulano
29dbabd544
improve wording
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-06-21 11:35:47 +01:00
Ram Rachum
2f0d430807 Fix exception causes all over the codebase 2020-06-21 13:21:25 +03:00
Andrew Murray
c76dfbaef5 Added release notes for #4536 [ci skip] 2020-06-21 19:11:09 +10:00
Andrew Murray
659ce90af1 Fixed typo [ci skip] 2020-06-21 19:09:09 +10:00
nulano
6c1ff252d6 check run-time version numbers where available, add docs 2020-06-21 18:58:39 +10:00
Andrew Murray
f7e47dffc4 Added release notes for #4605 [ci skip] 2020-06-21 18:44:25 +10:00
nulano
23b771973d Merge remote-tracking branch 'upstream/master' into docs-imageshow 2020-06-20 13:08:47 +02:00
Andrew Murray
18e974ae6f Updated lcms2 to 2.11 2020-06-17 07:54:00 +10:00
Hugo van Kemenade
d6be1331ce
Merge pull request #4688 from nulano/featers-docs 2020-06-15 08:58:37 +03:00
nulano
c40b0e5426 fix some docs links 2020-06-14 17:16:15 +02:00
nulano
d4c432dd2f add autodocs for UnidentifiedImageError 2020-06-14 16:40:28 +02:00
nulano
255bd0caef create docs section Internal Modules 2020-06-14 16:39:23 +02:00
nulano
eb150c5518 sort docs index 2020-06-14 14:48:56 +02:00
nulano
eab2260313 add docs for ImageDraw2 based on ImageDraw, fix ImageDraw links 2020-06-14 14:48:22 +02:00
nulano
f19e3ec124 promote JpegPresets from autodoc section 2020-06-14 13:55:19 +02:00
nulano
4a9afc79bf improve ImageShow docs 2020-06-14 13:55:19 +02:00
Andrew Murray
e134216609
Fixed typo [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-06-14 16:53:30 +10:00
nulano
d05a08a298 formatting improvements
Co-authored-by: Hugo <hugovk@users.noreply.github.com>
2020-06-14 06:49:00 +02:00
Andrew Murray
e19713ebc9 Added release notes for 7.2.0 [ci skip] 2020-06-14 12:03:03 +10:00
nulano
097104278b add docs for features module 2020-06-13 04:28:02 +02:00
Andrew Murray
bb01312ba9 Improved formatting 2020-06-11 22:42:13 +10:00
Andrew Murray
402a59f6ec Fixed formatting [ci skip] 2020-06-08 13:17:08 +10:00
Hugo
cda682efc4 Parameter values in code formatting 2020-06-04 11:45:13 +03:00
Hugo van Kemenade
95f3f359b7
Fix name
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-06-03 11:23:24 +03:00
Hugo
14302aa53d Fix parameter formatting 2020-06-02 22:14:36 +03:00
Hugo
87de783226 Replace simple code formatting with :py:meth: markup 2020-06-02 21:48:53 +03:00
Hugo
087e42f743 Move OpenType docs link to a reference 2020-06-02 21:28:34 +03:00
Hugo
dc0c7bea37 Update ImageDraw docs formatting and links 2020-06-02 21:16:13 +03:00
Hugo van Kemenade
b8bc307691
Merge pull request #4604 from radarhere/imagegrab
Updated ImageGrab documentation now that Linux is supported
2020-05-31 23:20:51 +03:00
nulano
66954ad176 deprecate Image.show(command="...") 2020-05-25 18:57:02 +02:00
nulano
9640b48040 Merge branch 'master' of github.com:python-pillow/Pillow into winbuild-rewrite
# Conflicts:
#	.github/workflows/test-windows.yml
#	winbuild/config.py
#       winbuild/build_prepare.py
2020-05-25 14:32:21 +02:00
Andrew Murray
995634c401 Updated macOS tested Pillow versions [ci skip] 2020-05-23 11:54:06 +10:00
Hugo
f271bc8b2f Link pilfont to its new home in pillow-scripts 2020-05-21 00:17:56 +03:00
Andrew Murray
3b62151215 Changed example function name to match use in code [ci skip] 2020-05-17 16:05:54 +10:00
Andrew Murray
67d26ed051 Use _accept function in example plugin [ci skip] 2020-05-17 09:24:06 +10:00
Andrew Murray
a28b2ea11c
Merge pull request #4596 from andreasnuesslein/patch-1
Mention Ubuntu versions younger than 16.04
2020-05-11 19:55:03 +10:00
Andreas Nüßlein
43072e3ca3
Update docs/installation.rst
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-05-11 10:26:49 +02:00
nulano
713ed87e9d build PyPy wheels on GHA; update installation docs 2020-05-09 03:24:15 +02:00
Andrew Murray
6669ffd053 Updated documentation now that Linux is supported 2020-05-03 13:06:25 +10:00
Hugo
94c7af7596 Replace spaces with tabs and add to pre-commit linting 2020-05-01 21:23:39 +03:00
Andrew Murray
c04013fa74
Merge branch 'master' into winbuild-rewrite 2020-05-02 00:20:14 +10:00
Hugo
e8987491d4 Add Fedora 32 2020-04-29 16:03:42 +03:00
Andreas Nüßlein
456b36308a
Mention Ubuntu versions younger than 16.04
I suppose people will just try it either way but it's good to know that it still works with the same libs all the way through to 20.04
2020-04-29 11:49:33 +02:00
Andrew Murray
661760a883 Updated Ubuntu CI targets [ci skip] 2020-04-26 14:01:38 +10:00
Andrew Murray
9581108cf8 Removed Fedora 30 from CI targets [ci skip] 2020-04-26 07:48:49 +10:00