Commit Graph

10566 Commits

Author SHA1 Message Date
luphord
4bb35c57dd clarify comment
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-08-28 20:47:17 +10:00
luphord
ae5e0218e9 remove whitespace 2020-08-28 20:47:17 +10:00
luphord
1fd9ccfe3c test Exif self-equality 2020-08-28 20:47:16 +10:00
luphord
9db5266fa7 test IFDRational equality 2020-08-28 20:47:16 +10:00
luphord
78e971913c fix IFDRational equality 2020-08-28 20:47:16 +10:00
Andrew Murray
101e8f84b6
Merge pull request #4872 from hugovk/add-logo-to-readme
Add Pillow logo to README and PyPI
2020-08-27 19:38:28 +10:00
Hugo van Kemenade
572259bcde
Merge pull request #4885 from radarhere/exception 2020-08-24 17:36:30 +03:00
Andrew Murray
0af193afc0 Added test 2020-08-24 21:32:55 +10:00
Guillaume Ayoub
45b228e835 Fix exception handling when saving images
The e variable is already used in the for loop, use exc to store the exception.
2020-08-24 21:32:21 +10:00
Hugo van Kemenade
b9081d2238
Merge pull request #4842 from radarhere/zlib
Added homebrew zlib include directory
2020-08-23 14:57:01 +03:00
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
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
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
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