Commit Graph

1421 Commits

Author SHA1 Message Date
MauveRanger
96b3935adc
[ci skip] Clarify that modes are strings, not constants
I misunderstood this section the first time I read it. I hope this change will clarify how to request a mode such as from Image.new("RGBA", size)
2020-09-09 18:28:49 -04:00
Hugo van Kemenade
ac2c0df61e
Give supported Python versions its own header 2020-09-07 17:00:02 +03:00
Tommy C
d49f90444c Add documentation link to release notes
[skip ci]
2020-09-06 07:08:50 +01:00
Hugo van Kemenade
efb0055645
Same length header underline 2020-09-05 22:44:56 +03:00
Tommy C
7a75e09fe1 Add ImageDraw.regular_polygon to release notes
[skip ci]
2020-09-05 20:08:26 +01:00
Andrew Murray
fac2d2781e
Merge pull request #4837 from nulano/formats
Add formats parameter to open
2020-09-05 20:49:59 +10:00
Hugo van Kemenade
8c405fcfae
Merge pull request #4898 from jwon/patch-1 2020-09-05 00:18:26 +03:00
Hugo van Kemenade
3dba4ee10a
Merge pull request #4846 from comhar/features/compute_polygon_coordinates 2020-09-04 23:28:43 +03:00
James Won
f0361a1b7f
Update docs/installation.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-09-04 13:17:27 -07:00
James Won
adb089de4e
Update docs/installation.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-09-04 13:17:07 -07:00
nulano
5669246da0 add release notes for formats parameter 2020-09-04 21:33:02 +02:00
Hugo van Kemenade
63d8a600cb
Merge pull request #4890 from nulano/mingw-setup 2020-09-03 21:11:39 +03:00
James Won
c16d23362c
Add comma and minor style changes 2020-09-02 12:18:43 -07:00
Hugo van Kemenade
ddc4c64664
Merge branch 'master' into rm-3.5 2020-09-02 20:36:30 +03:00
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