Commit Graph

1449 Commits

Author SHA1 Message Date
Hugo van Kemenade
3b6d29ea11
Fix typo
Co-authored-by: nulano <nulano@nulano.eu>
2020-10-13 23:48:04 +03:00
Hugo van Kemenade
41ca42fadb Add #4523 ellipse-drawing algorithm changes to release notes 2020-10-13 23:01:47 +03:00
Hugo van Kemenade
2b05506bca
Merge branch 'master' into release-notes 2020-10-13 13:25:59 +03:00
Andrew Murray
c41548cba8 Added release notes for #4862 [ci skip] 2020-10-13 20:49:28 +11:00
nulano
8a9d6e0943 release notes for PyPy support
(cherry picked from commit d61c961ebb0565605ce4aa2084ba1d4e4965fb4f)
2020-10-12 17:38:53 +01:00
nulano
3de972cc3e add release notes for text rendering improvements
(cherry picked from commit 1e9dfb5b7c9fc80f40544260286c0c5955f6a88e)
2020-10-12 17:37:27 +01:00
nulano
d7a08cbd15 add color support to new text measuring functions 2020-10-12 16:05:19 +01:00
nulano
90e8255ba4 Merge remote-tracking branch 'upstream/master' into anchor-part3
# Conflicts:
#	Tests/test_imagefontctl.py
2020-10-12 15:50:45 +01:00
Hugo van Kemenade
43c3f4de80
Merge pull request #4955 from nulano/ft-color3 2020-10-12 13:52:01 +03:00
Andrew Murray
cf31156326 Added release notes for #4966 [ci skip] 2020-10-12 19:58:39 +11:00
nulano
845bfda3ff fix docs formatting 2020-10-12 05:08:58 +01:00
nulano
b85fabca70
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-10-11 22:25:16 +02:00
nulano
be4d5221ad remove extra information 2020-10-11 21:21:38 +01:00
nulano
067a254366
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-10-11 21:55:32 +02:00
Andrew Murray
dab51b6508 Updated CI targets [ci skip] 2020-10-10 19:39:57 +11:00
nulano
c80f123923 document ImageDraw.textlength and ImageDraw.textbbox 2020-10-09 01:43:23 +01:00
nulano
395aa946a9 add getbbox and getlength, with tests
Squashed commits:

[ec9ec31b] add tests for invalid anchor
(cherry picked from commit 9e50a6a47f79876ee56942152047f03fff03c49b)

[386a9170] fix lint and docs
(cherry picked from commit 2d0d5282fcfc3ee332a41e60b865ee766445cc3d)

[29f5d4c9] restore and document previous getsize behaviour
see discussion in issue 4789
(cherry picked from commit 9fbc94571ce0ed42fdd11e99f343a1613c9dc6d3)

[0ffd51a0] add getbbox and getlength, with tests
(cherry picked from commit c5f63737476a998c81e589e5819d21ca69bb7b46)
2020-10-09 00:56:58 +01:00
nulano
9151da162c add support for CBDT and embedded bitmaps in truetype fonts 2020-10-07 05:29:17 +01:00
nulano
82a28d12e2 add support for fonts with COLR data 2020-10-07 05:29:10 +01:00
Hugo van Kemenade
a7f384a813
Merge pull request #4292 from radarhere/private_png_chunks
Added reading and writing of private PNG chunks
2020-10-05 23:49:09 +03:00
Hugo van Kemenade
b29cab08d3
Merge pull request #4930 from nulano/anchor-part2 2020-10-05 20:19:33 +03:00
nulano
e696bb06d8 update version numbers 2020-10-04 20:28:24 +01:00
nulano
6b8d8ac313 simplify anchor example image 2020-10-04 20:14:24 +01:00
nulano
d22608b7bd fix hyphens and add missing articles
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-10-04 20:12:47 +01:00
Andrew Murray
ca3b2806f6 Added overview [ci skip] 2020-09-24 08:33:52 +10:00
nulano
a9b8dcba7d write anchor docs
(cherry picked from commit dcaee36941e6cb5e6f93186b6f819fb74887e0d3)
2020-09-22 14:58:17 +02:00
nulano
e6d4c2ce8f implement text anchor for truetype fonts
(cherry picked from commit bac9025918ccf944bac77addc130f33cf9d74701)
2020-09-19 15:17:45 +02:00
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