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
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
Hugo van Kemenade
33dca341a9
Merge pull request #4844 from hugovk/update-lint
...
Update lint: rst-backticks and isort
2020-08-09 10:21:04 +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
d1daff892d
Merge pull request #4740 from nulano/winbuild-ignore
...
Add gitignore to winbuild build directory
2020-08-06 11:11:15 +03:00
Hugo van Kemenade
0ccb28088f
Merge pull request #4829 from radarhere/build_ext
...
Replaced distutils build_ext with setuptools
2020-08-03 11:59:17 +03:00
Andrew Murray
5f56767aaa
Merge pull request #4835 from nulano/win-rm-av
...
Remove obsolete MSYS2 scripts for AppVeyor
2020-08-03 08:23:15 +10:00
nulano
e02af3e58b
delete obsolete files for AppVeyor
2020-08-02 22:15:59 +02:00
Hugo van Kemenade
608ccd0594
Merge pull request #4831 from radarhere/targets
...
Updated phony targets
2020-08-01 13:49:17 +03:00
Andrew Murray
a23ec9cfb7
Split phony targets
2020-08-01 19:21:28 +10:00
Andrew Murray
96a125911a
Updated phony targets
2020-08-01 11:09:55 +10:00
Andrew Murray
7471fdffb8
Merge pull request #4824 from hugovk/fix-link
...
Remove outdated make upload-test and upload commands
2020-08-01 11:07:15 +10:00
Andrew Murray
43fca3dcd3
Replaced distutils build_ext with setuptools
2020-07-31 19:14:43 +10:00
Hugo van Kemenade
446a836f1c
Remove outdated make upload-test and upload commands, we use twine now
2020-07-29 19:24:50 +03:00
Hugo van Kemenade
48c7d84bf7
Merge pull request #4814 from radarhere/sysconfig
2020-07-29 09:50:41 +03:00
Hugo van Kemenade
0d4e3ebcf9
Merge pull request #4817 from radarhere/mingw
...
Removed distutils from MinGW detection
2020-07-29 09:48:59 +03:00
Hugo van Kemenade
c9499ed4da
Merge pull request #4822 from radarhere/unused
...
Removed unused variables
2020-07-29 09:45:07 +03:00
Andrew Murray
fda22ed82e
Removed unused variables
2020-07-29 07:54:33 +10:00
Andrew Murray
73f51ae484
Removed distutils from MinGW detection
2020-07-26 21:01:25 +10:00
Andrew Murray
a10634e13f
Do not explicitly import distutils
2020-07-26 14:59:30 +10:00
Hugo van Kemenade
893489c572
Merge pull request #4815 from radarhere/harfbuzz
...
Updated harfbuzz to 2.7.0
2020-07-25 15:52:23 +03:00
Andrew Murray
f6117930ab
Merge pull request #4809 from hugovk/rm-distutils-sysconfig
...
setup.py: Get prefix directly from sys instead of distutils
2020-07-25 21:39:36 +10:00
Andrew Murray
86828b3fa6
Updated harfbuzz to 2.7.0
2020-07-25 21:05:31 +10:00
Andrew Murray
42bb401e88
Replaced distutils sysconfig
2020-07-25 20:03:27 +10:00
Hugo van Kemenade
cda0dc6ec4
Merge pull request #57 from radarhere/rm-distutils-sysconfig
2020-07-24 16:02:28 +03:00
Andrew Murray
99a2aa0e71
Updated CHANGES.rst [ci skip]
2020-07-24 20:49:43 +10: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
7c576adb19
Simplified code
2020-07-24 19:58:17 +10:00
Hugo van Kemenade
e5415ca082
Merge pull request #4811 from radarhere/attributes
2020-07-23 21:39:43 +03:00
Andrew Murray
908567a718
Capitalisaton
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-24 01:04:19 +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
Hugo van Kemenade
696aac95cb
Merge pull request #4802 from radarhere/max
...
Documented MAX_IMAGE_PIXELS
2020-07-22 10:45:58 +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
56a43a5fa7
Fixed typo
2020-07-21 20:42:42 +10:00
Hugo van Kemenade
307239b234
Replace distutils.sysconfig.get_config_var("prefix") with os.path.normpath(sys.prefix)
2020-07-21 11:23:38 +03: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
Andrew Murray
b243a6113e
Merge pull request #4797 from hugovk/rm-distutils.version
...
Replace distutils.version with packaging.version.parse
2020-07-19 08:12:31 +10:00
Andrew Murray
9a237ebec2
Merge pull request #4801 from python-pillow/update-macos
...
Tested 7.2.0 with 3.5-3.8 on macOS Mojave
2020-07-19 07:20:35 +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
Hugo van Kemenade
4485468f41
Merge pull request #4800 from radarhere/macos
...
Updated macOS tested Pillow versions
2020-07-18 16:56:05 +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