Commit Graph

1725 Commits

Author SHA1 Message Date
Andrew Murray
dd097fe1fd Updated list of TIFF compression methods [ci skip] 2021-03-17 11:14:12 +11:00
Andrew Murray
b57aee53a2 Added release notes for #5321 [ci skip] 2021-03-15 08:30:27 +11:00
Andrew Murray
cfcedcc520 icc_profile is now a keyword argument when saving TIFF files [ci skip] 2021-03-14 21:21:40 +11:00
Hugo van Kemenade
2d042736c3
Merge pull request #5318 from radarhere/releasenotes
Added link to class and function in release notes
2021-03-08 20:34:21 +02:00
Hugo van Kemenade
3225e39e9a
Merge branch 'master' into alpha_composite 2021-03-08 14:16:46 +02:00
Andrew Murray
ac1a9b28c9 Added link to class and function [ci skip] 2021-03-08 20:33:13 +11:00
Andrew Murray
62bf920634 Added release notes [ci skip] 2021-03-08 20:10:17 +11:00
Andrew Murray
f5d49f4f61 Added rounded_rectangle method 2021-03-08 19:53:59 +11:00
Andrew Murray
45c43fc911 Added release notes [ci skip] 2021-03-08 19:39:28 +11:00
Ondrej Baranovič
14671f715f
Merge branch 'master' into sbix 2021-03-07 20:05:25 +01:00
Hugo van Kemenade
6108596ff8
Merge pull request #5289 from radarhere/ipythonviewer 2021-03-07 14:26:50 +02:00
Andrew Murray
f2ea25780a Added release notes for 8.1.2 2021-03-06 13:25:36 +11:00
Andrew Murray
b885af93cb Added more CVE numbers [ci skip] 2021-03-04 17:33:47 +11:00
Andrew Murray
a1463ff211 Added release notes 2021-03-04 08:59:47 +11:00
Kipkurui Mutai
5e0a4acb85 Update ImageShow.rst 2021-03-04 08:56:13 +11:00
Andrew Murray
944fd834db
Updated spelling [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-03-03 22:38:24 +11:00
Andrew Murray
b959ee7885 Corrected list of relevant dependencies [ci skip] 2021-03-03 20:34:52 +11:00
Andrew Murray
0de08851e4
Merge pull request #5301 from hugovk/update-release-notes
Update release notes: formatting, links, spelling
2021-03-03 20:29:14 +11:00
Hugo van Kemenade
d0cf8ffef5
Fix filename spelling
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-03-03 10:47:21 +02:00
Andrew Murray
f676b10813 Updated libimagequant to 2.14.1 2021-03-03 07:56:29 +11:00
Andrew Murray
b41dab0e9b Expanded "OOB" to "out-of-bounds" [ci skip] 2021-03-02 23:22:06 +11:00
Hugo van Kemenade
915f68967f Update release notes formatting, links, spelling 2021-03-02 13:16:14 +02:00
Andrew Murray
a80cf42275 Added 8.1.1 release notes to index 2021-03-01 19:22:57 +11:00
Eric Soroos
c96eac1ca4 Credits 2021-03-01 19:05:23 +11:00
Eric Soroos
3f2b7d7140 Release notes for 8.1.1 2021-03-01 19:05:08 +11:00
Andrew Murray
80e570bb99 Added context managers 2021-02-25 23:41:31 +11:00
Andrew Murray
585683ce25
Merge pull request #5277 from jcea/typo
Example from filter should be next to filter method docs, not in 'frombytes'
2021-02-24 20:04:53 +11:00
Andrew Murray
9c09a975df Corrected syntax [ci skip] 2021-02-23 23:08:44 +11:00
Jesus Cea
f74d7d800c The example from filter should be next to filter method docs, not in 'frombytes' 2021-02-22 23:59:51 +01:00
nulano
61ee8ec03c document and add tests for SBIX color font support 2021-02-22 12:00:20 +11:00
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
98eaef5bc7 Added release notes for PyQt6 [ci skip] 2021-02-11 08:09:31 +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
Andrew Murray
e5c41c3c84 Updated lcms2 to 2.12 2021-02-07 06:57:03 +11:00
Hugo van Kemenade
54f12f8aad
Merge pull request #5216 from radarhere/tk
Deprecate Tk/Tcl 8.4, to be removed in Pillow 10 (2023-01-02)
2021-02-02 15:00:15 +02:00
Hugo van Kemenade
ca56643bb7
Merge pull request #5233 from radarhere/versioning
Corrected documentation syntax
2021-01-30 11:11:31 +02:00
Andrew Murray
c43440cfd0 Updated libimagequant to 2.14.0 2021-01-29 08:00:49 +11:00
Andrew Murray
b57e4fa8d2 Corrected syntax [ci skip] 2021-01-29 08:00:26 +11:00
Andrew Murray
c9740ab7e3 Deprecate Tk/Tcl 8.4, to be removed in Pillow 10 (2023-01-02) 2021-01-26 18:14:28 +11:00
nulano
aa742fd8a4 Document availability of tk version number. [ci skip] 2021-01-25 22:13:33 +01:00
Hugo van Kemenade
3dd8c981db
Merge pull request #5196 from radarhere/example
Changed example image file name
2021-01-09 13:43:33 +02:00
Andrew Murray
a6fc7a5320 Changed example image file name [ci skip] 2021-01-09 21:14:02 +11:00
Andrew Murray
cda2a2479e Updated macOS tested Pillow versions [ci skip] 2021-01-09 21:00:56 +11:00
wiredfool
cfff80ad76
Merge pull request #5177 from wiredfool/debugging_notes
Added docs for C-Extension debugging with valgrind
2021-01-07 13:06:22 +00:00
Andrew Murray
497f9e2764 Fixed unexpected indentation [ci skip] 2021-01-08 00:06:18 +11:00
Andrew Murray
2c41413b93
Merge pull request #5179 from nulano/wheels-180
Release notes for LibTIFF update in pillow-wheels
2021-01-05 20:38:32 +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
cd316feead Link to OSS-Fuzz [ci skip] 2021-01-02 22:09:07 +11:00
Andrew Murray
2711549503 Link to TideLift [ci skip] 2021-01-02 22:07:03 +11:00
Andrew Murray
d88fdcda06
Updated capitalisation [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-01-02 22:00:35 +11:00
nulano
c5c0cd8914 document pillow-wheels PR180 2021-01-02 11:54:56 +01:00
Andrew Murray
95f99d52c4 Document CVE fixes [ci skip] 2021-01-02 21:27:50 +11:00
Andrew Murray
0c39689690
Merge pull request #5171 from radarhere/makefile
Add #5159 to the release notes
2021-01-02 20:20:05 +11:00
Andrew Murray
6ffa37b85b Document #5149 [ci skip] 2021-01-02 19:59:29 +11:00
Andrew Murray
852503a4a3 Document #5159 [ci skip] 2021-01-02 11:00:33 +11:00
Andrew Murray
3808aee4e6 Document #5161 [ci skip] 2021-01-02 09:39:04 +11:00
Andrew Murray
48eb46ece6 Updated copyright year 2021-01-01 00:05:47 +11:00
Andrew Murray
86ad435ee4
Merge branch 'master' into master 2020-12-30 13:05:35 +11:00
Andrew Murray
4056bf529e Document #5148 [ci skip] 2020-12-30 12:43:13 +11:00
Hugo van Kemenade
8d62314db4
Merge pull request #5137 from radarhere/imagefont
Document limited number of characters in FontFile
2020-12-29 12:36:24 +02:00
Andrew Murray
fff194505c
Merge pull request #5152 from radarhere/openjpeg_wheels
OpenJPEG has been updated in pillow-wheels
2020-12-29 19:43:51 +11:00
Andrew Murray
387ac3d704
Simplified wording [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-12-29 19:08:04 +11:00
Andrew Murray
8f1111472b OpenJPEG has been updated in pillow-wheels [ci skip] 2020-12-29 11:32:10 +11:00
Andrew Murray
c68ddcf87d Updated openjpeg to 2.4.0 2020-12-29 10:44:32 +11:00
Andrew Murray
6ee74e1f18 Document limited number of characters [ci skip] 2020-12-27 12:48:29 +11:00
Andrew Murray
e9fa245b69 Documented the addition of PyPy3.7 wheels [ci skip] 2020-12-25 18:08:48 +11:00
Hugo van Kemenade
be3006533d
Merge pull request #5129 from radarhere/releasenotes
Added release notes for #4568
2020-12-24 09:58:47 +02:00
Andrew Murray
26b9181591 Updated macOS tested Pillow versions [ci skip] 2020-12-24 17:11:49 +11:00
Andrew Murray
2899ca0387 Added release notes for #4568 [ci skip] 2020-12-24 13:13:44 +11:00
Andrew Murray
e37a8a263d
Merge pull request #4568 from ziplantil/ico-append-images
Add append_images support for ICO
2020-12-24 11:10:33 +11:00
Andrew Murray
9443997d1c
Merge pull request #5117 from radarhere/versioning
Added versioning documentation
2020-12-22 08:00:18 +11:00
Andrew Murray
1777aada93
Reformatted link [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-12-22 07:38:56 +11:00
Andrew Murray
0e50e72807
Merge pull request #5056 from hugovk/fix-4th-level-menu-dark-mode
Don't add light mode bg to 3rd and 4th level menu items
2020-12-22 07:37:48 +11:00
Andrew Murray
d13a3ce7bf Moved "Versioning" into "Release Notes" 2020-12-21 20:45:59 +11:00
Andrew Murray
0a1dcfc55a Fix 3rd level menu item background-color in dark mode [ci skip] 2020-12-21 09:10:19 +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
83d82ae150
Merge pull request #5098 from hugovk/deprecate-freetype
Deprecate FreeType 2.7
2020-12-20 13:35:41 +11:00
Jon Dufresne
5474b2c7d4 Update some doc code blocks to the 'pycon' lexer
These code blocks represent Python console sessions, not Python source
code. The pycon lexer understands the ">>>" prompt and output (e.g. a
traceback).
2020-12-19 17:55:54 -08:00
Hugo van Kemenade
9e21ef7338 Remove old Travis CI config 2020-12-19 21:57:32 +02:00
Hugo van Kemenade
cfc45ab9c3 Autolink PEP 2020-12-17 10:29:04 +02:00
Hugo van Kemenade
f0c0a0a1f4 Autolink CVEs with sphinx-issues 2020-12-17 10:29:04 +02:00
Hugo van Kemenade
d093b7141f Update Makefile docs command for Python 3 2020-12-17 10:28:06 +02:00
Hugo van Kemenade
27bf17009c Deprecate FreeType 2.7, to be removed in Pillow 9 (2022-01-02) 2020-12-17 10:28:06 +02:00
Hugo van Kemenade
0893f502c3 Document when deprecations will be removed [CI skip] 2020-12-10 14:32:43 +02:00
Andrew Murray
619a7b9f8a
Merge pull request #5060 from hugovk/rm-eol
CI: Remove soon-EOL Amazon Linux 1 and CentOS 6
2020-12-01 00:01:07 +11:00
Andrew Murray
cf9158f635 Corrected syntax [ci skip] 2020-11-28 12:10:20 +11:00
Hugo van Kemenade
e99bc4aabe
Merge pull request #5067 from radarhere/macos
Updated macOS tested Pillow versions
2020-11-28 00:13:23 +02:00
Hugo van Kemenade
aa7b33869b
Merge pull request #5065 from radarhere/libimagequant
Updated libimagequant to 2.13.1
2020-11-27 11:36:38 +02:00
Andrew Murray
3d80b74342 Updated macOS tested Pillow versions [ci skip] 2020-11-27 18:50:31 +11:00
Hugo van Kemenade
e377d243b1 Remove soon-EOL Amazon Linux 1 and CentOS 6 2020-11-24 23:48:01 +02:00
Hugo van Kemenade
dea2eb54af Set background-color depending on dark/light mode 2020-11-24 13:10:01 +02:00
Hugo van Kemenade
effb351d09 Don't add light mode bg to 4th level menu items [CI skip] 2020-11-24 12:26:06 +02:00
Andrew Murray
f835c57538 Updated libimagequant to 2.13.1 2020-11-23 07:08:05 +11:00
Hugo van Kemenade
12918605c1 Add logo to docs [CI skip] 2020-11-22 12:41:17 +02:00
Hugo van Kemenade
2d6e51e26c
Merge pull request #5031 from radarhere/append_images
PNG supports append_images
2020-11-04 15:07:52 +02:00
Andrew Murray
6806fa1a20 PNG supports append_images [ci skip] 2020-11-04 22:56:14 +11:00
Andrew Murray
1ced7b7c92 Document ICO append_images [ci skip] 2020-11-04 22:52:45 +11:00
Andrew Murray
5b2da5f7b0 Link directly to pilfont script [ci skip] 2020-11-04 21:52:00 +11:00
Hugo van Kemenade
1ce8181d84
Merge pull request #5025 from radarhere/license
Refer to "HPND License" instead of "PIL Software License"
2020-10-31 11:17:54 +02:00
Andrew Murray
81078e8a0d Refer to "HPND License" instead of "PIL Software License" 2020-10-31 14:51:41 +11:00
Andrew Murray
84052eb8c5 Added Fedora 33 to CI targets [ci skip] 2020-10-31 14:20:14 +11:00
Hugo van Kemenade
c34cf8ccb9 Update Travis CI links for .com 2020-10-30 21:20:20 +02:00
Hugo van Kemenade
cfe805c436
Merge pull request #5019 from radarhere/python_pip 2020-10-30 14:49:36 +02:00
Andrew Murray
6a50e1076a Invoke pip using Python 2020-10-29 22:41:29 +11:00
Andrew Murray
b3f0f9ae8c Updated CI targets [ci skip] 2020-10-29 18:40:46 +11:00
Andrew Murray
d171afc19e Describe effect of WebP save_all [ci skip] 2020-10-28 22:03:27 +11:00
Andrew Murray
5eab56860b Updated CI targets [ci skip] 2020-10-27 21:12:51 +11:00
Andrew Murray
3581600bf3 Clarified that "text" must be a string [ci skip] 2020-10-26 06:58:20 +11:00
Andrew Murray
07cfe1d0d0 Updated macOS tested Pillow versions [ci skip] 2020-10-24 13:14:51 +11:00
Hugo van Kemenade
ac348ea3b1
Clarify wording [CI skip]
Co-authored-by: nulano <nulano@nulano.eu>
2020-10-22 17:09:20 +03:00
Hugo van Kemenade
558b2e6cf6 Add release notes for 8.0.1 2020-10-22 15:47:02 +03:00
Andrew Murray
bd65c8ebb5 Updated libimagequant to 2.13.0 2020-10-19 22:25:57 +11:00
Jon Dufresne
eb460a2ac8 Fix internal Sphinx link to installation doc
Fixes linkcheck warnings:

    handbook/image-file-formats.rst:563: [broken] ../installation.html:
    releasenotes/4.2.0.rst:7: [broken] ../installation.html:
2020-10-17 11:23:58 -07:00
Hugo van Kemenade
5505da4877 Remove soon-EOL Fedora 31 2020-10-16 21:04:45 +03:00
Hugo van Kemenade
c93c642745 Add dark mode to release notes [CI skip] 2020-10-14 18:27:45 +03:00
Hugo van Kemenade
8aa6a5e9cd
Merge pull request #4968 from hugovk/dark-mode 2020-10-14 17:08:49 +03:00
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
Hugo van Kemenade
846e173f42
Shift the hue for easier to read colour scheme
Co-authored-by: nulano <nulano@nulano.eu>
2020-10-12 20:17:06 +03:00
Hugo van Kemenade
b6fa30256e
Turn down the brightness [CI skip]
Co-authored-by: nulano <nulano@nulano.eu>
2020-10-12 20:04:20 +03:00
Hugo van Kemenade
461d936227 Invert the black-on-white/transparent images at handbook/text-anchors.html [CI skip] 2020-10-12 19:43:09 +03: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
Hugo van Kemenade
fc83f11cf6 Add dark mode 2020-10-08 00:29:46 +03: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
Tommy C
0ed01dd964 Add ImageDraw.regular_polygon 2020-08-16 13:29:13 +01: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
nulano
d36850e037 fix docs typos 2020-08-11 02:14:13 +02:00
nulano
6cd0d60315 use code formatting instead of emphasis where applicable [ci skip] 2020-08-11 00:54:12 +02:00
Andrew Murray
f67f819a3d Explicitly declare code as Python [ci skip] 2020-08-10 23:04:09 +10:00
Andrew Murray
d53602ea6e
Explicitly declare code as Python [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-10 22:46:36 +10:00
Andrew Murray
04f856b13c Added an example importing SpamImagePlugin [ci skip] 2020-08-10 21:57:18 +10:00
Andrew Murray
dfca48df1b Combine extensions into register_extensions [ci skip] 2020-08-10 21:26:41 +10:00
Hugo van Kemenade
ecc9cf3d73
"cutoff" can also be a float
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-08-10 14:14:12 +03:00
nulano
bf4e918252
adjust table marker lines to match the longest row
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-09 20:48:44 +01:00
nulano
2c460c3ba1 simplify ImageCms links in docs 2020-08-09 20:44:51 +02:00
Hugo van Kemenade
24c1a32ed3 Add release notes for 8.0.0 and a template 2020-08-09 20:08:38 +03:00
Hugo van Kemenade
dd87dd50c0 Update to isort 5 with Black profile support 2020-08-08 22:39:29 +03: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
Andrew Murray
836dcc5ba0 Document missing attributes 2020-07-23 22:40:02 +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
Hugo van Kemenade
b8ccd97d75
Update title
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-07-21 15:55:32 +03: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
45f09b4139
Tested 7.2.0 with 3.5-3.8 on macOS Mojave 2020-07-18 17:08:25 +03:00