Andrew Murray
2bbf31929f
Added PyQt6 and PySide 6 to list of modules [ci skip]
2021-02-16 22:36:32 +11:00
Andrew Murray
c2203a13a8
Merge pull request #5181 from macjohnny/patch-1
...
Docs: add alpha channel to supported hex color specifiers
2021-02-11 20:47:22 +11:00
Andrew Murray
e64d62e568
Adjusted formatting [ci skip]
2021-02-09 19:47:40 +11:00
Andrew Murray
6c0af0fdfb
Removed ImageDraw reference
2021-02-09 19:46:07 +11:00
Andrew Murray
e4a8783e88
Changed example value to avoid using "a"
2021-02-09 19:44:51 +11:00
Andrew Murray
a5d8d1e163
Removed outdated documentation [ci skip]
2021-02-08 22:00:48 +11:00
nulano
aa742fd8a4
Document availability of tk version number. [ci skip]
2021-01-25 22:13:33 +01:00
Andrew Murray
a6fc7a5320
Changed example image file name [ci skip]
2021-01-09 21:14:02 +11:00
Andrew Murray
497f9e2764
Fixed unexpected indentation [ci skip]
2021-01-08 00:06:18 +11:00
Esteban Gehring
930059814d
docs: add alpha channel to supported hex color specifiers
2021-01-04 13:42:15 +01:00
Eric Soroos
6b6c0b3692
Added docs for C-Extension debugging with valgrind [ci-skip]
2021-01-02 13:07:30 +01:00
Andrew Murray
6ee74e1f18
Document limited number of characters [ci skip]
2020-12-27 12:48:29 +11:00
Hollow Man
889409ded3
Fix use of a versus an in ImageCms.rst
...
an color -> a color
2020-12-20 22:31:25 +08:00
Andrew Murray
5b2da5f7b0
Link directly to pilfont script [ci skip]
2020-11-04 21:52:00 +11:00
Andrew Murray
3581600bf3
Clarified that "text" must be a string [ci skip]
2020-10-26 06:58:20 +11: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
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
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
nulano
e696bb06d8
update version numbers
2020-10-04 20:28:24 +01: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
Hugo van Kemenade
3dba4ee10a
Merge pull request #4846 from comhar/features/compute_polygon_coordinates
2020-09-04 23:28:43 +03:00
Hugo van Kemenade
e0eec1eb56
Merge branch 'master' into rm-3.5
2020-09-01 20:16:46 +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
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
dece040ee8
Fix RST backticks
2020-08-08 22:39:28 +03:00
Hugo van Kemenade
10615a7da7
Upgrade Python syntax for 3.6+
...
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-30 10:09:18 +03: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
Hugo van Kemenade
ea96cbeddc
Alphabetise
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-07-22 12:10:23 +03:00
Andrew Murray
7f829b60c9
MAX_IMAGE_PIXELS can be changed
2020-07-21 23:01:51 +10: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
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
Hugo van Kemenade
415a4aa8ac
Add PIL.Image.Image.frombytes to docs
2020-07-18 10:13:18 +03:00
Hugo van Kemenade
40aefc6ba5
Remove im.offset, deprecated in 2001; and fromstring and tostring, deprecated in 2013
2020-07-17 10:55:20 +03:00
Andrew Murray
470bf71e7a
Removed domain references from image expressions
2020-07-14 22:36:42 +10:00
Andrew Murray
291208b581
Merge pull request #4768 from hugovk/rm-deprecated-ImageCms.CmsProfile-attributes
...
Remove ImageCms.CmsProfile attributes deprecated since 3.2.0
2020-07-12 08:10:34 +10:00
nulano
7ce6a15062
Merge remote-tracking branch 'upstream/master' into refs-animated
...
# Conflicts:
# docs/reference/Image.rst
2020-07-11 12:33:36 +02:00
Hugo van Kemenade
4ca7e7e699
Merge pull request #4771 from nulano/refs-misc
2020-07-11 12:42:50 +03:00
nulano
1ac943991a
Apply suggestions from code review
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-11 13:25:10 +10:00