Commit Graph

10933 Commits

Author SHA1 Message Date
Hugo van Kemenade
855a28e544
Merge pull request #4866 from radarhere/cmyk_pdf
Corrected inverted PDF CMYK colors
2020-08-23 14:38:06 +03:00
Hugo van Kemenade
27d34d2f13
Merge pull request #4823 from radarhere/close
Do not try to close file pointer if file pointer is empty
2020-08-23 14:26:11 +03: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
Hugo van Kemenade
9c6d0bdcb7
Merge pull request #4843 from navneeth/master 2020-08-22 10:37:59 +03:00
Andrew Murray
4b936162fa
Merge pull request #4884 from radarhere/setuptools
Removed TravisCI setuptools version requirement
2020-08-22 08:04:47 +10:00
Andrew Murray
3e6dae8455 Removed TravisCI setuptools version requirement 2020-08-21 22:30:25 +10:00
nulano
4b2a0173d3 group test cases
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-21 14:11:47 +02:00
nulano
76a51270fa split up test 2020-08-20 23:23:15 +02: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
nulano
4bb78d53a3 give proper error message for invalid putpixel color type 2020-08-20 00:01:03 +02:00
Hugo van Kemenade
ff635923b2
Update release notes: Add mask parameter to autocontrast 2020-08-19 16:33:23 +03:00
Hugo van Kemenade
6fecb841b4
Merge branch 'master' into master 2020-08-19 16:11:18 +03:00
Hugo van Kemenade
2fecde95e1
Fix link
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-08-17 14:41:32 +03:00
Hugo van Kemenade
7f711ce91a Convert README to Markdown and add logo
[CI skip]
2020-08-17 10:29:52 +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
Nathaniel Quillin
1743ac4734 Initialize offset memory for PyImagingPhotoPut.
When using image mode "1" or "L" block.offset[3] is never initialized. In some use cases the block is passed to Tk_PhotoPutBlock (https://github.com/tcltk/tk/blob/master/generic/tkImgPhoto.c#L2752) and block.offset[3] is stored in alphaoffset which is later referenced.
2020-08-15 21:16:18 +10:00
Hugo van Kemenade
8deaebd5e0
Merge pull request #4868 from radarhere/duplicate 2020-08-15 12:53:56 +03:00
Andrew Murray
fa768c34c5
Merge pull request #4836 from nulano/win-develop
Add develop instructions for winbuild
2020-08-15 19:50:49 +10:00
Andrew Murray
ffb5075196 Alphabetised dependencies 2020-08-15 19:42:23 +10:00
Andrew Murray
70d868ef59
Lint fix
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-15 13:56:51 +10: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
Andrew Murray
ffe566f0c3 Fixed comparison warnings 2020-08-15 13:22:58 +10:00
Andrew Murray
14af7bb5ac Do not try to close fp if fp is empty 2020-08-15 13:07:14 +10:00
Andrew Murray
c4b1657bd7 Removed duplicate package 2020-08-15 09:50:39 +10:00
Andrew Murray
cb79b1fa89 Updated CHANGES.rst [ci skip] 2020-08-15 09:40:25 +10:00
Hugo van Kemenade
e54909b97c
Merge pull request #4867 from radarhere/pypi 2020-08-14 18:07:01 +03:00
Andrew Murray
48ba6b40f9
Clarified wording [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-15 00:42:43 +10:00
Andrew Murray
a302b3e3bc Pillow Wheels has changed to use GitHub releases [ci skip] 2020-08-15 00:34:20 +10:00
Andrew Murray
a2597a5683 Corrected inverted CMYK colors 2020-08-14 21:12:01 +10:00
Hugo van Kemenade
57c4be17a9
Merge pull request #4701 from nulano/winbuild-cache 2020-08-14 10:22:58 +03:00
Hugo van Kemenade
10c0c1317e
Merge pull request #4865 from radarhere/harfbuzz
Updated harfbuzz to 2.7.1
2020-08-14 08:01:47 +03:00
Andrew Murray
3b8bdbb563 Updated harfbuzz to 2.7.1 2020-08-14 08:30:10 +10:00
Hugo van Kemenade
e7a29da517
Merge branch 'master' into winbuild-cache 2020-08-14 00:19:49 +03:00
Hugo van Kemenade
ef986e376f
Merge branch 'master' into master 2020-08-13 23:58:42 +03:00
Hugo van Kemenade
a34cc1d676
Merge pull request #4858 from nulano/winbuild-lcms2 2020-08-13 23:57:21 +03:00
Hugo van Kemenade
0d4ba00b56
Merge pull request #4850 from nulano/docs-codefmt 2020-08-13 23:06:53 +03:00
nulano
a1c8cad206 always check patch is actually applied 2020-08-13 22:30:07 +10:00
nulano
e01993e5bc update LCMS2 target version 2020-08-13 22:30:07 +10:00
Andrew Murray
e96109b93c Added writing of subIFDs 2020-08-13 22:25:24 +10:00
Andrew Murray
0693b45213
Merge pull request #4784 from hugovk/3.9-upgrade-setuptools
3.9-dev: Upgrade setuptools
2020-08-13 22:23:38 +10:00
Hugo van Kemenade
1a3f5b6520 GHA/macOS/3.9-dev: Require setuptools 49.3.2+ 2020-08-13 13:00:27 +03:00
Hugo van Kemenade
83dc02ae2c GHA/Windows/3.9-dev: Require setuptools 49.3.2+ 2020-08-13 13:00:27 +03:00
Hugo van Kemenade
8784144855 GHA/Ubuntu/3.9-dev: Require setuptools 49.3.2+ 2020-08-13 13:00:18 +03:00
Hugo van Kemenade
ab4239efd1 Require setuptools 49.3.2+ 2020-08-13 12:17:32 +03:00
Hugo van Kemenade
b56f0836ff Travis/3.9-dev: Require setuptools 49.1.3+ 2020-08-13 12:17:32 +03:00
nulano
05ee9ab31c
improve wording, fix lint
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-08-12 22:24:25 +01:00
Andrew Murray
398a591e7e Updated CHANGES.rst [ci skip] 2020-08-12 07:59:47 +10:00
Hugo van Kemenade
1fe4070af6 Drop support for EOL Python 3.5 2020-08-11 22:29:44 +03:00
Hugo van Kemenade
fdc09206d0
Merge pull request #4828 from radarhere/exif_text 2020-08-11 21:52:12 +03:00