Commit Graph

10853 Commits

Author SHA1 Message Date
nulano
3c9897799b Revert "Merge pull request #4832 from radarhere/msys2_32"
This reverts commit d0dd3444a2, reversing
changes made to afbbdf5f72.
2020-08-30 06:24:21 +02:00
nulano
3099ca6473 document installation on MSYS2 2020-08-30 05:07:32 +02:00
nulano
3cabcf242f fix libtiff in MSYS2 2020-08-30 04:31:46 +02:00
nulano
db6253c927 remove msys2 gcc workaround 2020-08-30 01:43:55 +02:00
nulano
3b38eb317b remove legacy include directory for libimagequant
1) it is hardcoded to 32-bit C:\msys64\mingw32
2) current library version uses \mingw64\include\libimagequant.h directly
2020-08-30 00:57:27 +02:00
Hugo van Kemenade
b650a90c02
Merge pull request #4889 from radarhere/harfbuzz
Updated harfbuzz to 2.7.2
2020-08-29 07:50:13 +03:00
Andrew Murray
c9ecfa85c1 Updated harfbuzz to 2.7.2 2020-08-29 14:05:49 +10:00
Andrew Murray
9b86da9c26
Merge pull request #4888 from radarhere/bugfix/ifdrational-equality
Fix IFDRational __eq__ bug
2020-08-29 08:28:55 +10:00
Andrew Murray
0a46cbfea9 Reverted NaN change, so that NaN != NaN 2020-08-28 20:55:47 +10:00
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
f9f492b2b1 Added HAMMING to thumbnail docstring [ci skip] 2020-08-27 19:55:24 +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
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