Commit Graph

2653 Commits

Author SHA1 Message Date
Hugo van Kemenade
5cb020df8f
Merge pull request #6130 from radarhere/return
decode() should return -1 when finished
2022-03-24 08:07:14 +02:00
Andrew Murray
1acc32d1d9
Updated syntax 2022-03-22 22:34:04 +11:00
Andrew Murray
c5efe60c37 Reverted converting L with transparency to LA after first frame 2022-03-22 22:07:37 +11:00
Andrew Murray
ce8c682748 Added setting to convert to RGB only at a different palette 2022-03-22 20:28:49 +11:00
Andrew Murray
66bb2bd5e8 Added setting to convert first GIF frame to RGB 2022-03-22 20:20:38 +11:00
Andrew Murray
7928e944cb Keep subsequent L frames without transparency as L 2022-03-22 20:20:38 +11:00
Hugo van Kemenade
7857a1dff0
Merge pull request #6119 from radarhere/ppm_maxval 2022-03-18 18:14:40 +02:00
David Miguel Susano Pinto
0c4f11a603 doc: document "keep" for JPEG save quality option. 2022-03-14 17:01:03 +00:00
Andrew Murray
87dbc7043b decode() should return -1 when finished 2022-03-12 18:12:56 +11:00
Andrew Murray
b12c2fe682 Added merging images example 2022-03-12 16:17:56 +11:00
Hugo van Kemenade
515957b2ac
Merge pull request #6097 from radarhere/bigtiff 2022-03-11 23:05:41 +02:00
Andrew Murray
e9ded85459 Added release notes 2022-03-11 08:49:47 +11:00
Andrew Murray
60de3b7d74 I mode data can also be read from PPM 2022-03-09 22:29:52 +11:00
Andrew Murray
397a940995
Merge pull request #6094 from radarhere/decoder
Improved codec documentation
2022-03-07 08:01:31 +11:00
Andrew Murray
8e9d3201eb
Corrected grammar
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-03-07 07:15:23 +11:00
Hugo van Kemenade
fe9b6998f8
Merge pull request #6099 from radarhere/pixels
Document alternatives to accessing individual pixels
2022-03-06 09:17:45 +02:00
Hugo van Kemenade
180c89f755
Merge pull request #6092 from radarhere/accept 2022-03-05 23:10:08 +02:00
Andrew Murray
e5537b545a
Merge branch 'main' into add-cygwin-to-ci 2022-03-04 17:20:02 +11:00
Andrew Murray
de968dd920 Document that histogram() uses 256 bins per channel 2022-03-02 21:21:25 +11:00
Andrew Murray
2b9cc3ccc5 Documented writing your own encoder in C 2022-03-01 16:34:21 +11:00
Andrew Murray
a7e8a386d3 Mention PsdImagePlugin as a plugin using multiple tiles 2022-03-01 15:44:12 +11:00
Andrew Murray
0cd550719a Link to demonstrations of PyDecoder and PyEncoder 2022-03-01 14:56:04 +11:00
Andrew Murray
4615e1d42a Document alternatives to accessing individual pixels 2022-03-01 14:13:40 +11:00
Andrew Murray
d05281fe69 Improved documentation for cleanup() in Python codecs 2022-03-01 13:38:20 +11:00
Andrew Murray
95e3194497 Improved documentation for _pulls_fd and _pushes_fd 2022-03-01 13:15:12 +11:00
Andrew Murray
3b79a776d6 Removed "Experimental" label from pulls_fd 2022-03-01 13:15:12 +11:00
Andrew Murray
3cb355c1af Refer to set_as_raw() in Python decoder documentation 2022-03-01 13:15:12 +11:00
Andrew Murray
f2987d65c0 Linked to file codec documentation 2022-02-28 08:36:26 +11:00
Andrew Murray
13cedb9221 Added release notes for #6069 2022-02-28 08:36:18 +11:00
mergify[bot]
8abff14a3a
Merge pull request #6072 from hugovk/extras_require
Replace requirements.txt with extras
2022-02-27 21:31:03 +00:00
Hugo van Kemenade
00563327a2
Quotes may be needed on macOS
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-02-27 18:43:06 +02:00
Andrew Murray
e2288356ca Use _accept check in _open 2022-02-27 14:48:36 +11:00
Andrew Murray
e36774617c Added BLP1 saving 2022-02-25 23:58:13 +11:00
Andrew Murray
a0e1fde1ed Added PyEncoder 2022-02-25 16:07:01 +11:00
Andrew Murray
2e71925ee9 Further ensuring dependencies are installed 2022-02-25 10:37:38 +11:00
Andrew Murray
fa1e89ff84 Further invoking of commands through python3 2022-02-25 10:25:06 +11:00
Andrew Murray
dac5dfc35b Changed level of other Deprecations subheadings to be consistent 2022-02-25 10:24:29 +11:00
Hugo van Kemenade
c55d5d2401 Document requirements.txt -> extras_require in release notes 2022-02-24 17:59:34 +02:00
Hugo van Kemenade
b14aa51037 Replace requirements.txt with extras_require 2022-02-24 17:59:34 +02:00
Hugo van Kemenade
96516ce5f1
Merge pull request #6078 from radarhere/imageshow 2022-02-23 14:56:18 +02:00
Andrew Murray
415d679f84 Added Gentoo to Docker jobs 2022-02-23 15:26:16 +11:00
Andrew Murray
40561c9517 Document #6045 2022-02-21 21:04:24 +11:00
mergify[bot]
c58d2817bc
Merge pull request #6056 from radarhere/fits
Added FITS reading
2022-02-20 21:49:01 +00:00
Andrew Murray
ee46ef2a61
Updated formatting
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-02-21 08:03:50 +11:00
Andrew Murray
764c3517bc Added documentation links 2022-02-20 23:57:17 +11:00
Andrew Murray
7aa49741c6 Merge branch 'main' into getpalette 2022-02-20 23:52:20 +11:00
Andrew Murray
737fe769a6 Added release notes 2022-02-19 23:01:19 +11:00
Hugo van Kemenade
bfa6da63a4
Merge pull request #6045 from radarhere/imageshow
Do not automatically remove temporary ImageShow files on Unix
2022-02-19 11:06:10 +02:00
Hugo van Kemenade
e5fa767024
Merge pull request #6067 from radarhere/subsampling
Corrected JPEG subsampling documentation
2022-02-19 10:57:41 +02:00
Andrew Murray
7dca0135dd Merge branch 'main' into fits 2022-02-19 14:41:45 +11:00
Andrew Murray
2368723230 Deprecated FitsStubImagePlugin 2022-02-19 14:41:12 +11:00
Andrew Murray
aca936c85e
Document the version when FITS was added
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-02-19 10:37:59 +11:00
Andrew Murray
60e3734b30 Added release notes 2022-02-19 10:36:31 +11:00
Hugo van Kemenade
07741c9315
Merge pull request #5954 from radarhere/enum 2022-02-18 15:53:41 +02:00
Andrew Murray
5d7b6c9d88 Documented deprecation 2022-02-18 22:13:11 +11:00
Hugo van Kemenade
6b8edca6df
Merge pull request #6066 from radarhere/install 2022-02-18 08:47:02 +02:00
Andrew Murray
a5ada2c56f Added a note about the default subsampling 2022-02-18 09:56:59 +11:00
Andrew Murray
6bbdd2510e Use --no-binary when installing from source 2022-02-18 09:26:57 +11:00
Hugo van Kemenade
cfad80cbe6 macOS: 'brew install openjpeg' for JPEG2000 support 2022-02-17 22:24:45 +02:00
Andrew Murray
f2a8c45744 Remove incorrect documentation of "-1" subsampling setting 2022-02-17 23:54:10 +11:00
Andrew Murray
dfdb17671d Added FITS reading 2022-02-15 11:22:46 +11:00
Andrew Murray
9a4106c14f
Merge branch 'main' into enum 2022-02-15 08:12:28 +11:00
Andrew Murray
8b6ee688d8 Added release notes for #5959 2022-02-10 13:56:27 +11:00
Andrew Murray
912296200c Added release notes for #5942 2022-02-10 13:53:39 +11:00
Andrew Murray
f797137ab5 Added release notes for #5972 2022-02-10 13:53:35 +11:00
Andrew Murray
657ec4aa3d Added release notes for #5891 2022-02-10 13:53:30 +11:00
Andrew Murray
ef1373838d Added release notes 2022-02-10 12:15:25 +11:00
Andrew Murray
b38a67fa12
Merge branch 'main' into enum 2022-02-10 09:52:24 +11:00
Andrew Murray
d7922d1e85 Updated macOS tested Pillow versions [ci skip] 2022-02-09 14:27:21 +11:00
Andrew Murray
9237150431 Added CentOS Stream 9 2022-02-08 23:35:01 +11:00
Hugo van Kemenade
f018518e24
Merge pull request #6017 from radarhere/lcms2
Updated lcms2 to 2.13.1
2022-02-07 13:51:30 +02:00
DWesl
b582806887 Merge remote-tracking branch 'upstream/main' into add-cygwin-to-ci 2022-02-06 11:03:11 -05:00
Andrew Murray
9434799415 Updated lcms2 to 2.13.1 2022-02-04 03:29:26 +11:00
Andrew Murray
caf6fc60ca Corrected sentence [ci skip] 2022-02-04 03:19:49 +11:00
Andrew Murray
9d8f173e39 Updated libimagequant to 4.0.0 2022-02-03 18:05:50 +11:00
Andrew Murray
8ef2d987ab Added release notes for 9.0.1 2022-02-03 09:48:56 +11:00
Hugo van Kemenade
54e9decde3 Remove EOL CentOS 8 2022-01-31 23:41:16 +02:00
Andrew Murray
7ab973c4c9 Updated lcms2 to 2.13 2022-01-30 08:01:35 +11:00
Andrew Murray
179cdd4444 Merge branch 'main' into add-cygwin-to-ci 2022-01-29 13:59:37 +11:00
Andrew Murray
bd63a49bcd Added MinGW GitHub Actions badge 2022-01-28 11:25:24 +11:00
Andrew Murray
5848726cad Link directly to workflow pages 2022-01-28 11:23:51 +11:00
Hugo van Kemenade
8e4a618b55
Merge pull request #5989 from radarhere/raqm 2022-01-26 10:50:32 +02:00
Andrew Murray
93008c2095 Upgraded raqm to 0.8.0 2022-01-26 12:23:43 +11:00
Andrew Murray
1d91f6dce5 Document when file argument will be removed 2022-01-26 09:08:41 +11:00
Andrew Murray
a77babd6a4 Updated links 2022-01-18 14:26:52 +11:00
Hugo van Kemenade
83d369a347
Merge pull request #5964 from radarhere/macos 2022-01-17 10:19:58 +02:00
Andrew Murray
c8d650f383 Added Debian 11 Bullseye 2022-01-17 14:07:30 +11:00
Andrew Murray
b53cb3f675 Updated macOS tested Pillow versions [ci skip] 2022-01-17 09:47:27 +11:00
Andrew Murray
5df83a57ff Documented deprecation 2022-01-16 11:38:34 +11:00
Andrew Murray
f8e4e9c2dd Added enums 2022-01-15 09:02:31 +11:00
Hugo van Kemenade
47fe0b1b9f Autolink CWE numbers with sphinx-issues 2022-01-11 18:48:56 +02:00
Hugo van Kemenade
b2c6db8d3b Add CVE IDs 2022-01-07 22:48:26 +02:00
Andrew Murray
ed4cf78137 CVEs TBD 2022-01-02 18:09:45 +11:00
Andrew Murray
8531b01d6c Restrict builtins for ImageMath.eval 2022-01-02 17:23:49 +11:00
Andrew Murray
f6c78713a4 Added release notes for #5919, #5920 and #5921 2022-01-01 22:10:48 +11:00
Andrew Murray
0bb3f87dcc
Updated copyright year 2022-01-01 10:40:57 +11:00
Andrew Murray
949b431f03 Added release notes for pillow-wheels#237 2021-12-31 18:09:44 +11:00
DWesl
fa536b4d34 Merge branch 'main' of upstream into add-cygwin-to-ci 2021-12-26 14:28:29 -05:00
Alex Clark
9d0703a8a8
Merge pull request #5763 from python-pillow/new-badge 2021-12-25 07:21:33 -05:00
Andrew Murray
b07404e140 Added release notes for #5897 2021-12-24 09:05:54 +11:00
Andrew Murray
d0faeb4e5e
Added XDGViewer class 2021-12-23 11:15:29 +11:00
mergify[bot]
591e79e01e
Merge pull request #5862 from kolibril13/pathlib
Added PIL + pathlib Tutorial
2021-12-19 23:11:07 +00:00
Andrew Murray
a12c18608e
Corrected variable name 2021-12-20 09:39:09 +11:00
Jan-Hendrik Müller
36caa53fed
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-12-19 22:48:23 +01:00
Jan-Hendrik Müller
cd613e6850
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-12-19 13:26:30 +01:00
DWesl
77c8a07f1c DOC: Rearrange the Cygwin entries on the support matrix.
From a suggestion on the PR, make it clearer that Cygwin runs on
Windows.  Also record the Cygwin versions in the check against Python
versions.
2021-12-18 10:07:36 -05:00
Andrew Murray
6c8ac0e700 Added "os" example 2021-12-18 21:59:09 +11:00
Andrew Murray
946571d4a3 Moved batch processing example under "More on reading images" 2021-12-18 21:23:07 +11:00
Andrew Murray
d455abffee Moved all pathlib logic out of function 2021-12-18 21:16:50 +11:00
Andrew Murray
a1677ead44 Switched from deprecated "setup.py install" to "pip install ." 2021-12-18 19:43:23 +11:00
Hugo van Kemenade
a0ec5b7095
Merge pull request #5885 from hugovk/effbot 2021-12-14 12:57:32 +02:00
Hugo van Kemenade
8c405a9ab5 Dedicate the release to Fredrik Lundh 2021-12-13 23:43:04 +02:00
DWesl
9ec4034bff CI: Incorporate suggestions from PR.
Upload coverage information, add Cygwin to the list of systems with CI,
space out entries.
2021-12-11 08:27:35 -05:00
Andrew Murray
7b201798ad Updated libimagequant to 2.17.0 2021-12-08 19:00:50 +11:00
Andrew Murray
6f2f01b23f Added release notes for #5857 2021-12-07 06:46:07 +11:00
Hugo van Kemenade
94ca035495
Merge pull request #5857 from radarhere/gif 2021-12-06 20:58:21 +02:00
Andrew Murray
85a27c145d Python variables are one word 2021-12-04 07:50:12 +11:00
Andrew Murray
675c5e1a9c Apply black formatting to code examples 2021-12-04 07:50:08 +11:00
Jan-Hendrik Müller
cab7d8a8ab
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-12-02 16:20:13 +01:00
Jan-Hendrik Müller
21351c8982
Update docs/handbook/tutorial.rst
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-12-01 23:23:17 +01:00
Jan-Hendrik Müller
52ac725ae0
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-12-01 23:06:52 +01:00
Jan-Hendrik Müller
af924a1f96 added pathlib tutorial 2021-12-01 17:21:21 +01:00
Andrew Murray
eeb685b6c4 GIFs change mode for later frames [ci skip] 2021-11-29 18:50:22 +11:00
Andrew Murray
e06e18a8ef Added release notes for #5829 2021-11-22 10:12:48 +11:00
Andrew Murray
9dad104385 Added release notes for #5694 2021-11-22 09:56:32 +11:00
Andrew Murray
db6e75156c Document polygon width parameter 2021-11-22 09:49:35 +11:00
Andrew Murray
b70384653e Corrected parameter order 2021-11-22 09:48:31 +11:00
Hugo van Kemenade
9f7f340bb7 Move to 'Other Changes' 2021-11-11 14:46:48 +02:00
Hugo van Kemenade
81af72bb89
Fix code example
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-11-11 11:27:13 +02:00
Hugo van Kemenade
18d34b287f Add support for pickling TrueType fonts 2021-11-10 14:34:20 +02:00
Andrew Murray
fa4ae3dc2c Updated macOS tested Pillow versions [ci skip] 2021-11-09 18:21:09 +11:00
Andrew Murray
669ba570d5
Merge branch 'main' into rm-3.6 2021-11-04 08:27:36 +11:00
Andrew Murray
25979a51e7 Added Fedora 35 2021-11-03 21:31:12 +11:00
Andrew Murray
3b7890c709 Python 3.6 Docker jobs have been updated to Python 3.9 2021-11-02 23:07:32 +11:00
Hugo van Kemenade
36eb97d3c0
Merge branch 'main' into rm-3.6 2021-10-25 12:05:05 +03:00
Hugo van Kemenade
704336f92e
Merge pull request #5792 from radarhere/display_title 2021-10-25 12:03:42 +03:00
Andrew Murray
993da90316
Merge pull request #5779 from hugovk/update-expected-pillow-10-release-date
Update expected Pillow 10 release date: 2023-07-01
2021-10-25 12:57:20 +11:00
Andrew Murray
ef99db8871 Added release notes for #5788 2021-10-24 11:53:45 +11:00
Hugo van Kemenade
716a0baf74 Drop support for EOL Python 3.6 2021-10-19 15:34:52 +03:00
Andrew Murray
06ab0324a3 Added Tidelift Align badge to docs 2021-10-19 17:08:05 +11:00
Hugo van Kemenade
6e310e3e2e Update expected Pillow 10 release date: 2023-07-01 2021-10-18 15:48:49 +03:00
Hugo van Kemenade
606b5ae1e5 Remove support for FreeType 2.7 and older 2021-10-18 09:29:53 +03:00
Andrew Murray
20cf82b2af Moved PILLOW_VERSION deprecation to be more prominent 2021-10-18 17:20:56 +11:00
Andrew Murray
83864b01cf Removed Image.show command parameter 2021-10-18 11:08:51 +11:00
Andrew Murray
499040491b Removed Image._showxv 2021-10-18 11:06:06 +11:00
Andrew Murray
e444e7ab6d Removed ImageFile.raise_ioerror 2021-10-18 11:06:02 +11:00
Andrew Murray
cd50d468ba Removed PILLOW_VERSION 2021-10-18 11:05:53 +11:00
Andrew Murray
dd08584f7a
Updated syntax
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-10-17 10:37:19 +11:00
Andrew Murray
669512c2ac __exit__ does not destroy the core image object 2021-10-16 23:26:43 +11:00
Andrew Murray
fa74f2272b Copied images are not associated with the original file 2021-10-16 23:09:04 +11:00
Hugo van Kemenade
a8c18d0817 Rename master to main 2021-10-15 17:30:05 +03:00
Hugo van Kemenade
95cff6e959
Merge pull request #5766 from radarhere/fedora 2021-10-15 13:40:34 +03:00
Hugo van Kemenade
adfe06ef96 Docs: No security updates in 8.4.0 2021-10-15 11:23:38 +03:00
Andrew Murray
90ffafeebc Removed Fedora 33 docker job 2021-10-15 19:19:26 +11:00
Andrew Murray
5b7fb4f960 Updated macOS tested Pillow versions [ci skip] 2021-09-28 11:44:47 +10:00
Andrew Murray
836e6d98a3 Updated libimagequant to 2.16.0 2021-09-21 07:46:37 +10:00
Andrew Murray
c1db69cc3f Renamed register_open accept method for consistency 2021-09-20 22:16:37 +10:00
Andrew Murray
571feef28e
Merge pull request #5714 from hugovk/add-centos-stream-8
Add CentOS Stream 8
2021-09-17 22:02:32 +10:00
Andrew Murray
83f6a909d6 Updated macOS tested Pillow versions [ci skip] 2021-09-17 21:40:00 +10:00
Andrew Murray
4cfc9721d2 Added CentOS Stream 8 to CI targets 2021-09-17 21:26:10 +10:00
Andrew Murray
9301422d16 Merged identical cells 2021-09-16 08:25:51 +10:00
Hugo van Kemenade
21906a8172 Docs: Update CI targets table 2021-09-15 16:13:53 +03:00
Andrew Murray
3f3828040b
Merge branch 'master' into tiff_exif 2021-09-07 06:33:37 +10:00
Hugo van Kemenade
949503b160 Update release notes 2021-09-02 15:04:28 +03:00
Hugo van Kemenade
ad1522aa55 Add release notes for Pillow 8.3.2 2021-09-01 13:14:47 +03:00
Andrew Murray
9189c4b08b Pillow 8.3.2 supports Python 3.10 [ci skip] 2021-09-01 19:46:24 +10:00
Hugo van Kemenade
4c7777c425
Merge pull request #5599 from radarhere/palette
Updates for ImagePalette channel order
2021-08-24 14:52:46 +03:00
Hugo van Kemenade
e554ac96c4
Merge pull request #5660 from radarhere/python_mingw
Updated MinGW CI Python version
2021-08-15 11:10:38 +03:00
Andrew Murray
26d932505f Corrected property name [ci skip] 2021-08-15 17:28:52 +10:00
Andrew Murray
0cbc033b34 Updated FreeBSD package install command to Python 3.8 [ci skip] 2021-08-13 17:54:48 +10:00
Andrew Murray
db3cccb9c0 Updated MinGW CI Python version [ci skip] 2021-08-09 08:30:37 +10:00
Andrew Murray
4063deddac
Merge branch 'master' into eps 2021-08-06 23:32:02 +10:00
Andrew Murray
0c43da5e3c Added release notes 2021-08-06 22:41:44 +10:00
Andrew Murray
b3fda8c9c6 Added release notes 2021-08-06 22:33:55 +10:00
Andrew Murray
929c561937 Merge branch 'master' into eps 2021-08-06 22:03:12 +10:00
Andrew Murray
4f43851071 Added release notes [ci skip] 2021-08-03 00:03:53 +10:00
Andrew Murray
3cf2fffa33 Added release notes for #5641 2021-08-01 09:54:40 +10:00
Andrew Murray
7c7620d71f
Highlight class name
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-07-29 16:49:09 +10:00
Andrew Murray
d0a30ec369 Updated documentation 2021-07-29 16:20:20 +10:00
Andrew Murray
41b968ad10 Deprecate ImagePalette size parameter 2021-07-29 16:19:53 +10:00
Andrew Murray
7998d0252f Corrected Python 3.10 support [ci skip] 2021-07-23 18:25:35 +10:00
Andrew Murray
a9489c23b3 Updated macOS tested Pillow versions [ci skip] 2021-07-22 19:35:16 +10:00
Andrew Murray
1d73a483f4 Added "transparency" argument to load() 2021-07-19 09:08:45 +10:00
Andrew Murray
622a1cd542 Changed URLs to HTTPS 2021-07-12 21:00:36 +10:00
Andrew Murray
5fe583598f Added release notes for 8.3.1 2021-07-07 00:03:45 +10:00
Andrew Murray
c0f619384c Added "exif" keyword argument to save Image.Exif instance 2021-07-04 12:33:55 +10:00
Andrew Murray
8996b9ff9a Used line block in table heading 2021-07-02 22:18:18 +10:00
Andrew Murray
9aab18c5e9 Removed bottom gap in table headings 2021-07-02 18:59:48 +10:00
Andrew Murray
45d5848c30 Use line blocks instead of blank lines 2021-07-02 18:59:12 +10:00
Hugo van Kemenade
95cf343df4 Split support table to fit on page 2021-07-01 13:30:19 +03:00
Hugo van Kemenade
26c5eb4bbc Add th headers to tables, newlines, fix typo 2021-07-01 13:29:44 +03:00
Hugo van Kemenade
e7d1b2f4cb Add support for Python 3.10 2021-07-01 13:29:44 +03:00
Andrew Murray
d254e581a1 Added release notes for #5567 2021-07-01 13:32:20 +10:00
Hugo van Kemenade
06f88ddff4
Merge pull request #4526 from newpanjing/master 2021-06-30 17:13:43 +03:00
Andrew Murray
dfeb49c107 Documented deprecation 2021-06-30 21:47:41 +10:00
Andrew Murray
afb6ad27d7 Sorted deprecations by removal date 2021-06-30 20:57:21 +10:00
Andrew Murray
53b3d5c845 Added release notes for #5416 2021-06-30 13:54:44 +10:00
Andrew Murray
fcfa14a43b Added release notes for #5455 2021-06-30 13:54:10 +10:00
Andrew Murray
7faa107c98 Added release notes for #5402 2021-06-30 12:40:33 +10:00
Andrew Murray
45eaab9ec0 Added release notes 2021-06-30 11:56:19 +10:00
Andrew Murray
90ece137b0
Merge branch 'master' into master 2021-06-29 20:52:35 +10:00
Hugo van Kemenade
70fafe3da7
Update version number 2021-06-28 16:36:30 +03:00
Andrew Murray
2afc6fdfc4 Documented updates to DDS format 2021-06-14 18:14:28 +10:00
Andrew Murray
85d009c697
Merge pull request #5532 from radarhere/image_format
Copies of an image do not retain the format
2021-06-13 13:30:07 +10:00
Andrew Murray
fc1e7f423a
Corrected syntax [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-06-13 07:43:00 +10:00
Hugo van Kemenade
c2a6cebd6c
Merge pull request #5515 from PH-KDX/sidebar-fix 2021-06-12 21:22:31 +03:00
Hugo van Kemenade
101887360c
Merge pull request #5501 from radarhere/dds_bc5 2021-06-11 10:34:19 +03:00
Andrew Murray
ab1cc6ffa4 Copies of an image do not retain the format [ci skip] 2021-06-10 09:18:14 +10:00
Andrew Murray
cc28ad2441 Added release notes [ci skip] 2021-06-08 23:01:28 +10:00
Hugo van Kemenade
2a7eb5415e
Merge pull request #5513 from radarhere/ico_bmp
Added ICO saving in BMP format
2021-06-06 18:12:33 +03:00
Andrew Murray
b17a7dda28 Added release notes [ci skip] 2021-06-06 21:34:01 +10:00
Andrew Murray
1b2dba251a Updated macOS tested Pillow versions [ci skip] 2021-06-03 23:40:48 +10:00
Andrew Murray
0a609d7fb4 Removed duplicate block 2021-05-28 22:29:31 +10:00
PH-KDX
aaa2d6a77d
fix differing background colors in right sidebar [ci skip] 2021-05-28 02:12:09 +02:00
Andrew Murray
2c9a9b3529 Added ICO saving in BMP format 2021-05-27 06:21:28 +10:00
Andrew Murray
23467636ad Set og:image:alt to be constant 2021-05-15 09:07:36 +10:00
Hugo van Kemenade
d49000beaa Add og:image 2021-05-14 21:30:39 +03:00
Hugo van Kemenade
7f9037a8ca Use code formatting 2021-05-14 20:13:44 +03:00
Hugo van Kemenade
5caa04c2d1 Build docs with sphinx_copybutton and sphinxext.opengraph 2021-05-14 20:13:44 +03:00
Andrew Murray
ff5eb51216 Updated libimagequant to 2.15.1 2021-05-13 22:13:07 +10:00
Andrew Murray
c844c07d3d Updated badges for wheels 2021-05-10 22:11:22 +10:00
Andrew Murray
6b59b5f4dd Updated libimagequant to 2.15.0 2021-05-09 11:58:11 +10:00
Andrew Murray
3795772187 Use python3 2021-05-08 12:37:06 +10:00
Andrew Murray
ec0e93aa10 Updated tested libtiff versions [ci skip] 2021-05-05 00:42:14 +10:00
Hugo van Kemenade
20b8a83773
Merge pull request #5437 from radarhere/stdout 2021-05-03 11:57:46 +03:00
Andrew Murray
0f68e63793 Allow for sys.stdout.buffer to be missing 2021-05-03 18:07:05 +10:00
Hugo van Kemenade
8a8ac60817
Merge pull request #5417 from radarhere/contain
Added ImageOps contain()
2021-05-01 18:44:37 +03:00
Andrew Murray
c062410985 Documented #5414 2021-05-01 23:44:09 +10:00
Andrew Murray
5b0031c9fa Documented #5411 2021-05-01 23:09:20 +10:00
Andrew Murray
f45f7dcc23 Documented #5450 2021-05-01 23:08:49 +10:00
Andrew Murray
b432f838f1 Documented ImageOps contain method 2021-05-01 22:53:46 +10:00
Andrew Murray
9c06ce044c Changed PSDraw default from sys.stdout to sys.stdout.buffer 2021-04-29 21:35:57 +10:00
Andrew Murray
bb12c8079e Added missing import 2021-04-29 21:35:57 +10:00
Hugo van Kemenade
b3bb58746c
Merge pull request #5450 from radarhere/webp_method
Changed WebP default "method" value to 4
2021-04-29 14:17:05 +03:00
Andrew Murray
2c03800824 Changed default "method" value to 4 2021-04-28 18:20:44 +10:00
Andrew Murray
f1b1e9465d Added Fedora 34 2021-04-28 07:51:11 +10:00
Hugo van Kemenade
b21508798a
Merge pull request #5427 from radarhere/macos
Updated macOS tested Pillow versions
2021-04-25 11:33:41 +03:00
Thijs Triemstra
ef23737ebc
Update docs/installation.rst
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-04-22 00:22:21 +02:00
Thijs Triemstra
5dce1fa607
update table for py27 on raspberry pi os 2021-04-21 19:40:56 +02:00
Andrew Murray
0da88de5de Updated macOS tested Pillow versions [ci skip] 2021-04-21 23:38:20 +10:00
Thijs Triemstra
8446c471b5
doc: add Raspberry Pi OS to platform support 2021-04-20 23:13:31 +02:00
Andrew Murray
01871b88df Changed wording to avoid confusion with IMAGING_TYPE_SPECIAL [ci skip] 2021-04-17 09:23:16 +10:00
Andrew Murray
302ddc9b5e Corrected syntax 2021-04-10 11:39:24 +10:00
Tanner Davis
8c38c80bb1
Now the rst link to the Image class should work 2021-04-09 11:47:29 -06:00
Tanner Davis
8da6eef073
Made sure the rst link to the Image class was correct 2021-04-09 11:09:16 -06:00
Tanner Davis
ef3de6bf4f
PDF format docs, append_images param update [ci skip]
Made sure it is documented that both the `append_images` and `save_all` params must be set. Just setting `append_images` does not work.
2021-04-09 10:53:33 -06:00
Andrew Murray
b8c8375d0c Use python3 in shebang line 2021-04-09 19:10:36 +10:00
Andrew Murray
ed8064df22 Removed Fedora 32 docker job 2021-04-02 18:07:03 +11:00
Hugo van Kemenade
fea419665b Reorder, roughly alphabetic 2021-04-01 17:26:24 +03:00
Hugo van Kemenade
8ec027867f Add security release notes 2021-04-01 17:15:44 +03:00
Andrew Murray
ae7110a85d Added release notes [ci skip] 2021-04-01 23:18:30 +11:00
Hugo van Kemenade
8c852e44f0
Merge pull request #5349 from latosha-maltba/master 2021-04-01 11:55:37 +03:00
Hugo van Kemenade
95ac35d287 Fix RST link [ci skip] 2021-03-31 21:28:29 +03:00
Hugo van Kemenade
06dfbb8e3e
Merge branch 'master' into giflzw 2021-03-31 16:45:02 +03:00
Ray Gardner
d6dfdd3617 Add GIF LZW encoding to 8.2.0 release notes. 2021-03-31 06:48:17 -06:00
Andrew Murray
7e940dea5e Added release notes [ci skip] 2021-03-31 19:22:31 +11:00
Hugo van Kemenade
e08474afa3
Merge pull request #5365 from nulano/fribidi-notes 2021-03-30 21:00:09 +03:00
Andrew Murray
b0b4fee796
Merge pull request #5350 from elejke/master
Add preserve_tone option to autocontrast
2021-03-30 07:59:57 +11:00
Ondrej Baranovič
00cc32e3f9
FriBiDi capitalization consistency
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-03-29 19:45:27 +02:00
nulano
4f61637e7f document libraqm/fribidi linking, support fribidi-0.dll on Windows 2021-03-29 17:45:12 +02:00
German Novikov
9ea20c095e
Update docs/releasenotes/8.2.0.rst
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-03-29 14:12:29 +03:00
Hugo van Kemenade
e405ab300b
Merge pull request #5351 from radarhere/categories 2021-03-28 14:34:50 +03:00
Hugo van Kemenade
9b69d94082
Merge pull request #5352 from radarhere/quantize_documentation 2021-03-26 15:25:14 +02:00
Hugo van Kemenade
d40211254c
Merge pull request #5361 from radarhere/alpine
Document prerequisites and Python development libraries for Alpine
2021-03-25 20:33:41 +02:00
Andrew Murray
4c36945206 Added prerequisites and Python development libraries for Alpine 2021-03-25 22:43:46 +11:00
Andrew Murray
4b1dd40b5a Listed Debian packages [ci skip] 2021-03-25 11:57:48 +11:00
German Novikov
9d3da37f35
Update docs/releasenotes/8.2.0.rst [ci skip]
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-03-23 15:04:12 +03:00
elejke
9b8f7c2a8f versionadded directive and releasenotes added 2021-03-23 13:56:51 +03:00
Latosha Maltba
0f8fffbb11 Mention GraphicsMagick support release notes 8.2.0
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2021-03-23 07:16:56 +00:00
Andrew Murray
d8acc3be0d Updated macOS tested Pillow versions [ci skip] 2021-03-23 12:55:16 +11:00
Andrew Murray
0ff9879171 Document supported quantization methods for RGBA images 2021-03-22 19:21:31 +11:00
Andrew Murray
ab56edb49f Documented default quantization method 2021-03-22 19:18:36 +11:00
Andrew Murray
2d8658bd84 Deprecated categories [ci skip] 2021-03-22 18:58:50 +11:00
Latosha Maltba
bb88d8d017 Add support to use GraphicsMagick's "gm display" as viewer 2021-03-21 14:36:18 +00:00
Andrew Murray
da9b104693 Document #4947 [ci skip] 2021-03-20 08:43:32 +11:00
Andrew Murray
309d6f662c Moved rounded_rectangle to API additions [ci skip] 2021-03-20 08:32:39 +11:00
Andrew Murray
242af47a68 Removed obsolete "tiff_deflate" from compression methods [ci skip] 2021-03-19 12:14:41 +11:00
Andrew Murray
8f37f8dcb0 Sorted TIFF compression methods alphabetically [ci skip] 2021-03-17 17:54:37 +11:00
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
Andrew Murray
bd65c1071e Updated macOS tested Pillow versions [ci skip] 2020-07-18 20:11:00 +10:00
Hugo van Kemenade
415a4aa8ac Add PIL.Image.Image.frombytes to docs 2020-07-18 10:13:18 +03:00
Hugo van Kemenade
39bc25e28a
Link to the replacement functions
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-18 10:09:15 +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
80402e419a Updated CI targets [ci skip] 2020-07-16 21:50:43 +10:00
Andrew Murray
b2370b6055 Added further Ubuntu code names [ci skip] 2020-07-16 20:33:17 +10:00
Andrew Murray
d0cad3331a
Added Ubuntu 16.04 code name [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-16 20:31:07 +10:00
Andrew Murray
e866143eff Removed Docker images running Python 3.5 2020-07-16 20:17:25 +10:00
Hugo van Kemenade
1cb36cd33c
Merge pull request #4781 from radarhere/releasenotes
Added description of release cycle
2020-07-15 13:44:44 +03:00
Andrew Murray
45564fe89d Removed domain references when referring to hypothetical code 2020-07-14 22:36:46 +10:00
Andrew Murray
470bf71e7a Removed domain references from image expressions 2020-07-14 22:36:42 +10:00
Andrew Murray
cd10404abb Corrected reference 2020-07-14 22:36:36 +10:00
Andrew Murray
1f652954ba
Merge pull request #4746 from hugovk/rm-soon-eol-3.5
Drop support for EOL Python 3.5
2020-07-14 20:37:51 +10:00
Andrew Murray
2cec9f98a4 Updated CI targets [ci skip] 2020-07-12 15:03:10 +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
Hugo van Kemenade
27c5938530
Merge branch 'master' into refs-nitpick 2020-07-11 15:23:36 +03:00
nulano
8d105aae18 fix MAX_PIXELS typo 2020-07-11 12:38:00 +02: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
a2fa484c06 Add Python 3.9 column 2020-07-11 13:18:52 +03:00
Hugo van Kemenade
a8fabf9521
Merge branch 'master' into refs-nitpick 2020-07-11 12:44:25 +03:00
Hugo van Kemenade
4ca7e7e699
Merge pull request #4771 from nulano/refs-misc 2020-07-11 12:42:50 +03:00
Andrew Murray
c22328e3aa Added description of release cycle [ci skip] 2020-07-11 13:57:35 +10: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
nulano
7a660d548d fix ImageQt reference 2020-07-11 13:25:10 +10:00
nulano
39b5d7b4ac fix TiffTags and Exif related references 2020-07-11 13:25:10 +10:00
nulano
885ca9bb03 add omitted ImageFilter types 2020-07-11 13:25:10 +10:00
nulano
f6b4c3f741 don't link to removed methods 2020-07-11 13:25:10 +10:00
nulano
ec2b549a4d fix _imaging and Image.core references 2020-07-11 13:25:10 +10:00
nulano
73c5dffb5a fix ImageTransformHandler and ImagePointHandler references 2020-07-11 13:25:10 +10:00
nulano
0083ebb3d4 fix various reference typos 2020-07-11 13:25:10 +10:00
nulano
1fa01b0135 fix iTXt and PngInfo heading references 2020-07-11 13:23:19 +10:00
nulano
9c277f5c49 document PngImagePlugin constants 2020-07-11 13:23:19 +10:00
Andrew Murray
5e9e501591 Updated documentation [ci skip] 2020-07-11 13:13:49 +10:00
Hugo van Kemenade
fc1f16b616
Merge pull request #4774 from nulano/refs-std 2020-07-10 17:45:04 +03:00
Hugo van Kemenade
384523fab2 Fix PostScript typos 2020-07-10 11:48:02 +03:00
Hugo van Kemenade
f8ddb3aa48
Update version
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-10 10:43:13 +03:00
nulano
a04a10e7e3 ignore some nitpicky warnings 2020-07-10 01:49:09 +02:00
nulano
6db12b29d9 enable nitpicky warnings for docs builds 2020-07-10 01:48:42 +02:00
nulano
9589159585 use cross-reference for None value 2020-07-10 00:08:27 +02:00
nulano
af5e0fa2aa add Python stdlib intersphinx mapping 2020-07-10 00:08:19 +02:00
nulano
c244ecf245 avoid suggesting that Pillow understands animation in all formats
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-07-09 17:16:41 +02:00
Hugo van Kemenade
559510b378 Remove attributes deprecated since 3.2.0 2020-07-09 23:53:22 +10:00
Hugo van Kemenade
7c03590bcb Re-document deprecation versions of removals 2020-07-09 13:28:07 +03:00
Hugo van Kemenade
4323d975be Use sphinx_removed_in extension for the '.. versionremoved::' directive 2020-07-09 13:28:07 +03:00
Andrew Murray
91bd2d3752 Altered descriptions [ci skip] 2020-07-05 13:34:40 +01:00
Hugo van Kemenade
109c637ddb 'plugin', formatting and typos 2020-07-03 09:38:30 +03:00
nulano
74899cd6cf
Merge branch 'master' into refs-animated 2020-07-02 12:58:09 +01:00
Hugo
6cdeb55118 Drop support for soon-EOL Python 3.5 2020-06-30 13:55:08 +03:00
Hugo van Kemenade
20282dd23c
Merge pull request #4733 from nulano/refs-mod
Fix documentation references: modules
2020-06-29 11:57:53 +03:00
nulano
9019af5f32
Merge branch 'master' into refs-const 2020-06-28 10:55:26 +01:00
Hugo van Kemenade
977094d4b5
Merge pull request #4735 from nulano/refs-type 2020-06-28 09:41:37 +03:00
Hugo van Kemenade
780294302d
Merge pull request #4734 from nulano/refs-missing 2020-06-28 09:29:31 +03:00
Andrew Murray
510307532e
Merge pull request #4737 from nulano/refs-image
Fix documentation references: omitted Image functions
2020-06-28 15:43:22 +10:00
Andrew Murray
4ae694cd7b
Merge pull request #4712 from cool-RR/2020-06-12-raise-from
Fix exception causes all over the codebase
2020-06-28 15:22:05 +10:00
nulano
f5b4565d8c document is_animated and n_frames 2020-06-27 17:24:13 +02:00
nulano
4f1ee7a881 add missing and sort Image functions
(cherry picked from commit f31c786aa6)
2020-06-27 15:40:43 +02:00
nulano
19dd5cbfab fix some function references
(cherry picked from commit 9fb582940d)
2020-06-27 15:40:37 +02:00
nulano
3342270947 fix Image constants references
(cherry picked from commit 5511111f3b)
2020-06-27 15:39:55 +02:00
nulano
8b005dfe33 fix base Image attribute references
(cherry picked from commit 07cc74d38b)
2020-06-27 15:38:52 +02:00
nulano
5e4c3ae554 fix ImageMath creating false index entries
(cherry picked from commit eebecba3c2)
2020-06-27 15:37:35 +02:00
nulano
bd2c705606 fix CmsProfile type references
(cherry picked from commit 6196695156)
2020-06-27 15:37:29 +02:00
nulano
2761a02d13 fix module references
(cherry picked from commit b077850baa)
2020-06-27 15:33:55 +02:00
nulano
471f24f660 fix PyCMSError references
(cherry picked from commit 63d0fb4f70)
2020-06-27 15:33:05 +02:00
nulano
e4210eb8d7 fix ImageFile references
(cherry picked from commit 6ac071782f)
2020-06-27 15:30:45 +02:00
Hugo van Kemenade
92561bdcdc
Merge pull request #4697 from nulano/docs-imageshow 2020-06-27 14:09:44 +03:00
Andrew Murray
ee06255ff0 Deprecated _showxv 2020-06-23 22:20:58 +10:00
Andrew Murray
d7b812fcb2 Added release notes for #4646 [ci skip] 2020-06-23 21:50:23 +10:00
Andrew Murray
9979efff12
Merge pull request #4646 from nulano/show-command
Deprecate Image.show(command="...")
2020-06-23 19:47:57 +10:00
nulano
224ef2fadd require sphinx>=2.4 2020-06-22 05:18:51 +02:00
Hugo van Kemenade
1bc67c9f0f
Merge pull request #4700 from nulano/features-version 2020-06-21 21:36:46 +03:00
nulano
66eee05a37
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-06-21 18:47:30 +01:00
nulano
29dbabd544
improve wording
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-06-21 11:35:47 +01:00
Ram Rachum
2f0d430807 Fix exception causes all over the codebase 2020-06-21 13:21:25 +03:00
Andrew Murray
c76dfbaef5 Added release notes for #4536 [ci skip] 2020-06-21 19:11:09 +10:00
Andrew Murray
659ce90af1 Fixed typo [ci skip] 2020-06-21 19:09:09 +10:00
nulano
6c1ff252d6 check run-time version numbers where available, add docs 2020-06-21 18:58:39 +10:00
Andrew Murray
f7e47dffc4 Added release notes for #4605 [ci skip] 2020-06-21 18:44:25 +10:00
nulano
23b771973d Merge remote-tracking branch 'upstream/master' into docs-imageshow 2020-06-20 13:08:47 +02:00
Andrew Murray
18e974ae6f Updated lcms2 to 2.11 2020-06-17 07:54:00 +10:00
Hugo van Kemenade
d6be1331ce
Merge pull request #4688 from nulano/featers-docs 2020-06-15 08:58:37 +03:00
nulano
c40b0e5426 fix some docs links 2020-06-14 17:16:15 +02:00
nulano
d4c432dd2f add autodocs for UnidentifiedImageError 2020-06-14 16:40:28 +02:00
nulano
255bd0caef create docs section Internal Modules 2020-06-14 16:39:23 +02:00
nulano
eb150c5518 sort docs index 2020-06-14 14:48:56 +02:00
nulano
eab2260313 add docs for ImageDraw2 based on ImageDraw, fix ImageDraw links 2020-06-14 14:48:22 +02:00
nulano
f19e3ec124 promote JpegPresets from autodoc section 2020-06-14 13:55:19 +02:00
nulano
4a9afc79bf improve ImageShow docs 2020-06-14 13:55:19 +02:00
Andrew Murray
e134216609
Fixed typo [ci skip]
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-06-14 16:53:30 +10:00
nulano
d05a08a298 formatting improvements
Co-authored-by: Hugo <hugovk@users.noreply.github.com>
2020-06-14 06:49:00 +02:00
Andrew Murray
e19713ebc9 Added release notes for 7.2.0 [ci skip] 2020-06-14 12:03:03 +10:00
nulano
097104278b add docs for features module 2020-06-13 04:28:02 +02:00
Andrew Murray
bb01312ba9 Improved formatting 2020-06-11 22:42:13 +10:00
Andrew Murray
402a59f6ec Fixed formatting [ci skip] 2020-06-08 13:17:08 +10:00
Hugo
cda682efc4 Parameter values in code formatting 2020-06-04 11:45:13 +03:00
Hugo van Kemenade
95f3f359b7
Fix name
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-06-03 11:23:24 +03:00
Hugo
14302aa53d Fix parameter formatting 2020-06-02 22:14:36 +03:00
Hugo
87de783226 Replace simple code formatting with :py:meth: markup 2020-06-02 21:48:53 +03:00
Hugo
087e42f743 Move OpenType docs link to a reference 2020-06-02 21:28:34 +03:00
Hugo
dc0c7bea37 Update ImageDraw docs formatting and links 2020-06-02 21:16:13 +03:00
Hugo van Kemenade
b8bc307691
Merge pull request #4604 from radarhere/imagegrab
Updated ImageGrab documentation now that Linux is supported
2020-05-31 23:20:51 +03:00
nulano
66954ad176 deprecate Image.show(command="...") 2020-05-25 18:57:02 +02:00
nulano
9640b48040 Merge branch 'master' of github.com:python-pillow/Pillow into winbuild-rewrite
# Conflicts:
#	.github/workflows/test-windows.yml
#	winbuild/config.py
#       winbuild/build_prepare.py
2020-05-25 14:32:21 +02:00
Andrew Murray
995634c401 Updated macOS tested Pillow versions [ci skip] 2020-05-23 11:54:06 +10:00
Hugo
f271bc8b2f Link pilfont to its new home in pillow-scripts 2020-05-21 00:17:56 +03:00
Andrew Murray
3b62151215 Changed example function name to match use in code [ci skip] 2020-05-17 16:05:54 +10:00
Andrew Murray
67d26ed051 Use _accept function in example plugin [ci skip] 2020-05-17 09:24:06 +10:00
Andrew Murray
a28b2ea11c
Merge pull request #4596 from andreasnuesslein/patch-1
Mention Ubuntu versions younger than 16.04
2020-05-11 19:55:03 +10:00
Andreas Nüßlein
43072e3ca3
Update docs/installation.rst
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-05-11 10:26:49 +02:00
nulano
713ed87e9d build PyPy wheels on GHA; update installation docs 2020-05-09 03:24:15 +02:00
Andrew Murray
6669ffd053 Updated documentation now that Linux is supported 2020-05-03 13:06:25 +10:00
Hugo
94c7af7596 Replace spaces with tabs and add to pre-commit linting 2020-05-01 21:23:39 +03:00
Andrew Murray
c04013fa74
Merge branch 'master' into winbuild-rewrite 2020-05-02 00:20:14 +10:00
Hugo
e8987491d4 Add Fedora 32 2020-04-29 16:03:42 +03:00
Andreas Nüßlein
456b36308a
Mention Ubuntu versions younger than 16.04
I suppose people will just try it either way but it's good to know that it still works with the same libs all the way through to 20.04
2020-04-29 11:49:33 +02:00
Andrew Murray
661760a883 Updated Ubuntu CI targets [ci skip] 2020-04-26 14:01:38 +10:00
Andrew Murray
9581108cf8 Removed Fedora 30 from CI targets [ci skip] 2020-04-26 07:48:49 +10:00
Hugo
8149d9eabf Release notes for 7.1.2 2020-04-25 22:40:37 +10:00
Andrew Murray
b2f187c4ec Added multiline text example [ci skip] 2020-04-12 15:11:29 +10:00
nulano
79181c20a5 remove more AppVeyor jobs 2020-04-12 11:56:26 +10:00
Andrew Murray
417cbd1557 Document getexif [ci skip] 2020-04-11 18:01:13 +10:00
Andrew Murray
3bb39c73dd
Merge pull request #4536 from hugovk/oserror
Replace IOError and WindowsError aliases with OSError
2020-04-10 20:30:23 +10:00
Andrew Murray
29147e7fad Highlighted errors [ci skip]
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-04-10 12:57:29 +03:00
Andrew Murray
d8213a245d ImageFile.raise_ioerror is now deprecated [ci skip] 2020-04-10 12:57:29 +03:00
Hugo
dda6145fce Since Python 3.3 IOError and WindowsError have been merged into OSError 2020-04-10 12:57:29 +03:00
Andrew Murray
41b554bc56
Merge pull request #4538 from hugovk/update-7.1.0-release-notes
Update 7.1.0 release notes with CVEs
2020-04-10 11:23:31 +10:00
Andrew Murray
a283102ff4 ICNS can now be saved on non-macOS platforms [ci skip] 2020-04-07 21:17:09 +10:00
Hugo
3f2205d4eb Update release notes with CVEs [CI skip] 2020-04-07 10:31:41 +03:00
Andrew Murray
e2437c9b48 Corrected description [ci skip] 2020-04-06 21:57:45 +10:00
Andrew Murray
c82ffc7d7f Updated deprecated method 2020-04-06 21:56:27 +10:00
Andrew Murray
f1f177ce80 Fixed error making HTML from docs 2020-04-06 19:41:38 +10:00
Hugo
8c9100e267 Add 7.1.1 release notes to index 2020-04-02 21:12:13 +03:00
Hugo van Kemenade
c2a0005dc4
Fix typo
[CI skip]

Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-04-02 12:55:05 +03:00
Hugo
c19bed8f27 Release notes for 7.1.1 [CI skip] 2020-04-02 12:51:17 +03:00
Hugo van Kemenade
afa98d5120
Fix typo
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-04-01 10:04:59 +03:00
Hugo
961c341c20 Add release notes for #3907 PcfFontFile charset encodings 2020-04-01 09:41:35 +03:00
nulano
0b73e615d4 update install docs and release notes [ci skip] 2020-04-01 02:26:14 +02:00
Hugo van Kemenade
f27873a888
Merge pull request #4243 from pmrowla/apng
Add APNG support
2020-04-01 00:23:57 +03:00
Hugo van Kemenade
b5cf165f9e
Merge pull request #4260 from nulano/imagegrab_xcb
ImageGrab.grab() for Linux with XCB
2020-03-31 23:03:21 +03:00
Hugo van Kemenade
16e1d6a048
Merge pull request #4494 from hugovk/re-add-PILLOW_VERSION
Re-add deprecated PILLOW_VERSION to give projects more time to upgrade
2020-03-31 22:58:23 +03:00
Blaine Bublitz
137566e018 Update Tidelift UTM params [ci skip] 2020-03-31 10:25:01 -07:00
Hugo van Kemenade
761edafed8
Merge branch 'master' into re-add-PILLOW_VERSION 2020-03-31 12:07:14 +03:00
Andrew Murray
b700edfeb5
Changed capitalisation [ci skip]
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-03-31 19:18:45 +11:00
Andrew Murray
a1eaba7689 Documented new channel operations [ci skip] 2020-03-31 18:42:06 +11:00
Hugo van Kemenade
c6115c1ceb
Merge pull request #4230 from dwastberg/new_chops
Added three new channel operations
2020-03-31 10:24:44 +03:00
Hugo
afa758eb33 Re-add deprecated PILLOW_VERSION to give projects more time to upgrade 2020-03-29 18:36:37 +03:00
Andrew Murray
790ff223fc Updated versions 2020-03-24 19:52:27 +11:00
nulano
0bcc7be89b xcb screengrab docs and fixes 2020-03-24 19:46:40 +11:00
Andrew Murray
80c2ab7581 install using Python 3 [ci skip] 2020-03-18 07:54:54 +11:00
Andrew Murray
646b36d781 Updated CI target Python versions [ci skip] 2020-03-16 21:38:26 +11:00
Andrew Murray
9f61be4c72
Merge branch 'master' into apng 2020-03-09 23:29:40 +11:00
Andrew Murray
dc0d1c9bee Invoke pip using python3 [ci skip] 2020-03-09 22:43:35 +11:00
Andrew Murray
846662e282
Merge pull request #4459 from hugovk/python3-m-pip-install
Docs: Avoid ambiguity by explicitly invoking python3
2020-03-09 22:43:15 +11:00
Andrew Murray
e41cfade29 Add JPEG comment to info dictionary 2020-03-07 06:57:29 +11:00
Hugo van Kemenade
0f7ed2d35f
Merge pull request #4435 from radarhere/close_images
Close exclusively opened images
2020-03-06 00:27:46 +02:00
Hugo van Kemenade
3b30b88c7f
Merge pull request #4454 from radarhere/bbox
If present, only use alpha channel for bounding box
2020-03-05 12:38:52 +02:00
Andrew Murray
b888354ce9 Document getbbox change for images with alpha [ci skip] 2020-03-05 21:25:39 +11:00
Hugo
b028051dd2 Avoid ambiguity by explicitly invoking python3 2020-03-01 20:03:16 +02:00
Andrew Murray
792b1c812b Corrected version number [ci skip] 2020-03-01 14:51:54 +11:00
Hugo van Kemenade
64a9e0c660
Merge branch 'master' into apng 2020-02-29 17:40:17 +02:00
Andrew Murray
04f7c75466 Use context manager when opening images [ci skip] 2020-02-29 10:29:44 +11:00
Andrew Murray
ce23acee89 Added 7.1.0 release notes 2020-02-25 21:22:05 +11:00
Hugo van Kemenade
3c995fd173
Merge pull request #4440 from radarhere/jpeg_quality
Allow saving of zero quality JPEG images
2020-02-25 12:02:53 +02:00
Peter Rowlands
9b72f0513c Adjust is_animated behavior
- Make is_animated APNG behavior consistent with other Pillow formats
- is_animated will be true when n_frames is greater than 1 (for APNG
  this depends on animation frame count + presence or absence of a
  default image)
2020-02-23 15:14:06 +11:00
Peter Rowlands
dcc3f41fa1 Add release notes 2020-02-23 15:14:06 +11:00
Peter Rowlands
3a254701f6 Cleanup documentation
- Add changes requested by hugovk
2020-02-23 15:14:06 +11:00
Peter Rowlands (변기호)
0b536fb599 fix documentation review issue
[ci skip]

Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-02-23 15:14:06 +11:00
Peter Rowlands
916b2e1b74 Document APNG support 2020-02-23 15:14:06 +11:00
Andrew Murray
f76ef9798f Changed docs badges to be closer to README badges [ci skip] 2020-02-22 08:37:19 +11:00
Andrew Murray
a99b9d63f4 Document quality parameter change when saving JPEGs [ci skip] 2020-02-21 22:17:56 +11:00
Andrew Murray
a8c0794107 Allow saving of zero quality JPEG images 2020-02-21 22:05:44 +11:00
Dag Wästberg
2e02500fa6 change function names to snake_case 2020-02-19 19:38:53 +11:00
Dag Wästberg
13c1b7070d add Overlay chop 2020-02-19 19:24:36 +11:00
Dag Wästberg
c8a46ef387 update docs 2020-02-19 19:23:09 +11:00
Andrew Murray
5bb18c08ff Recommend upgrading Pillow [ci skip] 2020-02-19 18:59:28 +11:00
Hugo
f4b1c772dc Recommend upgrading pip and Pillow 2020-02-18 21:48:52 +02:00
Hugo van Kemenade
0e993c4740
Merge pull request #4334 from radarhere/outline_width
Allow explicit zero width to hide outline
2020-02-15 14:30:12 +02:00
Andrew Murray
8e7010d9ae Changed example plugin to work in Python 3 [ci skip] 2020-02-09 15:34:14 +11:00
Hugo van Kemenade
28a4982950
Merge pull request #4412 from radarhere/redirect
Updated redirected URL
2020-02-08 06:57:49 +02:00
Andrew Murray
af4bc0a1f6 Updated redirected URL 2020-02-08 11:54:57 +11:00
Andrew Murray
a8d4aca98d Removed mentions of Python 2 2020-02-08 11:45:51 +11:00
Andrew Murray
81ea2b32af
Merge pull request #4406 from radarhere/python2
Unlike PIL, Pillow does not support Python 2
2020-02-07 19:18:03 +11:00
Andrew Murray
bbea71419c Updated macOS tested Pillow versions [ci skip] 2020-02-07 19:03:35 +11:00
Andrew Murray
11023afd56 Updated macOS CI target [ci skip] 2020-02-07 19:01:00 +11:00
Andrew Murray
124e30e432
Merge pull request #4397 from hugovk/speedup-linkcheck
Docs: Speed up linkcheck by checking in parallel
2020-02-06 21:06:41 +11:00
Andrew Murray
db970acfa5 Grammar fix [ci skip] 2020-02-06 20:10:34 +11:00
Andrew Murray
50ce9bac55 Pillow no longer supports Python 2 [ci skip] 2020-02-05 21:06:09 +11:00
Hugo
2dfcfbfaa0 Speed up linkcheck by checking in parallel with 'cpu-count' processes 2020-01-29 17:11:59 +02:00
Andrew Murray
1f58028173 Use BytesIO instead of StringIO [ci skip] 2020-01-21 23:21:57 +11:00
Hugo
9f9d4b4379 Add favicon to Read the Docs 2020-01-20 17:22:10 +02:00
Andrew Murray
1c102fd040 Updated spacing defaults [ci skip] 2020-01-18 10:26:20 +11:00
Andrew Murray
6aa4e93e2d Updated tested libtiff versions [ci skip] 2020-01-13 21:06:32 +11:00
Andrew Murray
b1b20d81f4 Updated libjpeg to 9d 2020-01-12 22:43:39 +11:00
Andrew Murray
16b7c80e7d Added Pillow 6.2.2 to version table [ci skip] 2020-01-11 14:11:22 +11:00
Andrew Murray
56f30ef792 Allow explicit zero width to hide outline 2020-01-08 21:55:15 +11:00
Hugo
81126d1470 Add assigned CVE numbers 2020-01-03 21:33:10 +02:00
Hugo van Kemenade
2545e48079
Fix typo 2020-01-02 21:51:33 +02:00
Andrew Murray
1cecf08d16 Release notes for 6.2.2 2020-01-02 16:19:26 +11:00
Andrew Murray
afc93b0d76 Added release notes [ci skip] 2020-01-02 15:25:36 +11:00
Andrew Murray
2f508d4467 Added security notes [ci skip] 2020-01-02 09:32:13 +11:00
Andrew Murray
1ab85c885e Updated copyright year 2020-01-01 12:58:36 +11:00
Andrew Murray
d85ad58cb9 Python 2.7 support has been removed [ci skip] 2019-12-31 23:12:01 +11:00
Andrew Murray
4a0014ccee Updated libimagequant to 2.12.6 2019-12-31 08:43:20 +11:00
Alexander Karpinsky
c3232e5093
Merge pull request #4273 from uploadcare/reduce-in-resize
Reduce for resize
2019-12-30 17:29:58 +03:00
Andrew Murray
aeaaf29abe Python 2.7 is no longer supported [ci skip] 2019-12-30 22:30:21 +11:00
Alexander
c74c20eb9f Merge branch 'master' into reduce-in-resize
# Conflicts:
#	docs/releasenotes/7.0.0.rst
2019-12-30 03:24:38 +03:00
Alexander
34029e9af4 texts fixes 2019-12-30 03:23:30 +03:00
Andrew Murray
2a0653ee81
Merge pull request #4311 from radarhere/wmf
Allow loading of WMF images at a given DPI
2019-12-30 10:24:44 +11:00
Andrew Murray
feec1bbcb2 Updated WMF documentation [ci skip] 2019-12-30 10:12:37 +11:00
Andrew Murray
2b96dcffe1 Removed TODO from release notes [ci skip] 2019-12-30 09:18:03 +11:00
Alexander
1bd9b16e97 wording 2019-12-27 15:35:17 +03:00
Alexander
222c2f6978 Merge branch 'master' into reduce-in-resize 2019-12-27 15:13:19 +03:00
Andrew Murray
e51b7fa2a2 Added CentOS 8 2019-12-26 18:48:18 +11:00
Alexander
d719aafecb Merge branch 'reduce' into reduce-in-resize
# Conflicts:
#	docs/releasenotes/7.0.0.rst
2019-12-25 15:45:17 +03:00
Alexander
9c2b058483 update release notes [ci skip] 2019-12-25 15:32:49 +03:00
Alexander Karpinsky
d991cd9a9a
Merge pull request #60 from radarhere/box-in-thumbnail
Updated wording
2019-12-25 15:21:24 +03:00
Andrew Murray
c35fb6fb67
Merge branch 'master' into box-in-thumbnail 2019-12-24 18:18:34 +11:00
Andrew Murray
663fea308b Updated wording [ci skip] 2019-12-24 15:06:47 +11:00
Hugo
6a43ea86ea Merge remote-tracking branch 'upstream/master' into doctest-turn-warnings-into-errors 2019-12-21 15:52:59 +02:00
Hugo
d025fbe16d Install TkInter for Python 3, not 2 2019-12-21 15:48:00 +02:00
Hugo van Kemenade
b3547dc2c0
--keep-going to show all of the problems
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2019-12-21 13:46:38 +02:00
Hugo
6a256a8396 make doccheck: turn warnings into errors 2019-12-21 13:11:12 +02:00
Alexander
532eca3c20 Merge branch 'master' into box-in-thumbnail
# Conflicts:
#	docs/releasenotes/7.0.0.rst
2019-12-21 03:18:23 +03:00
Alexander
59f8eeb290 add release notes 2019-12-21 03:16:42 +03:00
Andrew Murray
7a4a408802
Merge pull request #4214 from hugovk/python-m-pip-install
Recommend upgrading pip before Pillow, and use python -m pip
2019-12-21 10:52:59 +11:00
Alexander
945b4e9c82 add references, fix release notes syntax 2019-12-21 00:25:52 +03:00
Alexander
1275b10e6f update release notes 2019-12-20 23:21:43 +03:00
Alexander
8181aed77f Merge branch 'reduce' into reduce-in-resize
# Conflicts:
#	docs/releasenotes/7.0.0.rst
#	src/PIL/Image.py
2019-12-20 20:27:11 +03:00
Alexander
b112e55070 Merge branch 'master' into box-in-thumbnail
# Conflicts:
#	docs/releasenotes/7.0.0.rst
2019-12-19 16:36:37 +03:00
Alexander Karpinsky
6d75a673b6
Merge pull request #4255 from uploadcare/default-resample-filter
Change default resize resampling filter from NEAREST to BICUBIC
2019-12-19 16:33:34 +03:00
Alexander
cdd1253211 notes fixes
skip-checks: true
2019-12-18 01:09:54 +03:00
Alexander
4da9858709 change default resampling filter for ImageOps.pad(), ImageOps.scale() and ImageOps.fit() 2019-12-17 18:15:02 +03:00
Andrew Murray
d3c26fac97
Merge branch 'master' into python-m-pip-install 2019-12-17 20:08:14 +11:00
Andrew Murray
ba81712ec8 Added release notes for #4256 [ci skip] 2019-12-17 19:01:24 +11:00
Alexander
a027897f74 Merge branch 'master' into box-in-thumbnail
# Conflicts:
#	Tests/test_image_thumbnail.py
2019-12-17 00:42:29 +03:00
Hugo
7b4ae104f0 Fix malformed table 2019-12-16 15:07:56 +02:00
Hugo van Kemenade
cb768d0bff
Merge pull request #4209 from daquexian/patch-1
Update the out-dated termux.sh
2019-12-12 08:03:57 +02:00
nulano
306d6ccfed update tested versions table [ci skip] 2019-12-09 22:48:57 +01:00
Alexander
ac92836e81 Change default resize resampling filter 2019-12-07 18:08:19 +03:00
Hugo van Kemenade
995c863200
Merge pull request #4253 from radarhere/python_versions
Invert Python version support table
2019-12-07 14:29:36 +02:00
Andrew Murray
5dcad52a5d
Merge branch 'master' into python-m-pip-install 2019-12-07 23:28:39 +11:00
Andrew Murray
9a9092773f Removed references to Python 2.7 [ci skip] 2019-12-07 22:13:29 +11:00
Andrew Murray
4b863b3cd2 Invert Python version support table [ci skip] 2019-12-07 21:57:57 +11:00
Andrew Murray
f663079a13 Removed prompts [ci skip] 2019-12-07 09:26:48 +11:00
Hugo
578d9ec016 Update macOS to reflect GitHub Actions 2019-12-07 00:20:41 +02:00
Alexander
4e092153fc add release notes 2019-11-30 18:17:10 +03:00
Andrew Murray
2537e8d23e Updated Termux command [ci skip] 2019-11-30 07:52:31 +11:00
Hugo van Kemenade
39a8108e34
Docs: remove 2.7 from CI targets
Removed in https://github.com/python-pillow/Pillow/pull/4133 for https://github.com/python-pillow/Pillow/issues/3642. 

Also update macOS to reflect GitHub Actions.
2019-11-22 07:39:38 +02:00
Hugo van Kemenade
a949d7882e
Merge branch 'master' into rm-2.7 2019-11-20 10:26:55 +02:00
Hugo
a27e676b11 Recommend upgrading pip before Pillow, and use python -m pip 2019-11-19 14:47:15 +02:00
Andrew Murray
699183c5dc
Highlighted classes
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2019-11-19 21:41:40 +11:00
Andrew Murray
40f891dfd7 Added UnidentifiedImageError 2019-11-19 21:20:02 +11:00
Hugo
e5486b40f8 Merge remote-tracking branch 'upstream/master' into rm-2.7 2019-11-18 13:56:42 +02:00
Hugo
f273da1b3e Remove deprecated __version__ from plugins 2019-11-05 22:06:57 +02:00
Hugo
15ee91761b Remove deprecated __version__ from plugins 2019-11-05 22:04:04 +02:00
Hugo
09e48ae768 Remove deprecated __version__ from plugins 2019-11-05 17:01:03 +02:00
Hugo van Kemenade
5006401d0b
Merge branch 'master' into rm-2.7 2019-11-03 22:48:26 +02:00
Hugo van Kemenade
690bd430b0
Update docs/releasenotes/7.0.0.rst
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2019-11-02 11:06:58 +02:00
Hugo van Kemenade
a3d16dd40a
Update docs/releasenotes/7.0.0.rst
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2019-11-02 08:40:40 +02:00
Hugo van Kemenade
2058e00e3e
Update docs/deprecations.rst
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2019-11-02 08:40:29 +02:00
Hugo
c9c02c513b Update docs for 7.0.0 2019-11-01 13:44:49 +02:00
Hugo
cc63f66575 Merge remote-tracking branch 'upstream/master' into rm-2.7 2019-11-01 13:22:56 +02:00
Hugo van Kemenade
2cf510e596
Improve handling of file resources (#3577)
Improve handling of file resources
2019-11-01 12:07:53 +02:00
Hugo
37f492cbbc Add support for Fedora 31 2019-10-31 12:35:26 +02:00
Andrew Murray
b8023838cc Added GHA [ci skip] 2019-10-29 19:07:45 +11:00
Hugo
ef0fa7a651 Remove soon-EOL Fedora 29 2019-10-26 17:10:07 +11:00
Hugo van Kemenade
40133cfc74
Merge branch 'master' into rm-2.7 2019-10-26 09:07:44 +03:00
Hugo
a80a45219f Pillow 6.2.1 is the last to support Python 2.7 2019-10-20 23:06:22 +03:00
Hugo
6f3464e1cb Add release notes for Pillow 6.2.1 2019-10-20 16:31:09 +03:00
Andrew Murray
aaf9720c58 Updated CI target Python versions for macOS [ci skip] 2019-10-20 21:00:26 +11:00
Hugo
2ab518edcb Add support for Python 3.8 2019-10-15 12:44:21 +03:00
Jon Dufresne
4cd4adddc3 Improve handling of file resources
Follow Python's file object semantics. User code is responsible for
closing resources (usually through a context manager) in a deterministic
way.

To achieve this, remove __del__ functions. These functions used to
closed open file handlers in an attempt to silence Python
ResourceWarnings. However, using __del__ has the following drawbacks:

- __del__ isn't called until the object's reference count reaches 0.
  Therefore, resource handlers remain open or in use longer than
  necessary.

- The __del__ method isn't guaranteed to execute on system exit. See the
  Python documentation:

  https://docs.python.org/3/reference/datamodel.html#object.__del__

  > It is not guaranteed that __del__() methods are called for objects
  > that still exist when the interpreter exits.

- Exceptions that occur inside __del__ are ignored instead of raised.
  This has the potential of hiding bugs. This is also in the Python
  documentation:

  > Warning: Due to the precarious circumstances under which __del__()
  > methods are invoked, exceptions that occur during their execution
  > are ignored, and a warning is printed to sys.stderr instead.

Instead, always close resource handlers when they are no longer in use.
This will close the file handler at a specified point in the user's code
and not wait until the interpreter chooses to. It is always guaranteed
to run. And, if an exception occurs while closing the file handler, the
bug will not be ignored.

Now, when code receives a ResourceWarning, it will highlight an area
that is mishandling resources. It should not simply be silenced, but
fixed by closing resources with a context manager.

All warnings that were emitted during tests have been cleaned up. To
enable warnings, I passed the `-Wa` CLI option to Python. This exposed
some mishandling of resources in ImageFile.__init__() and
SpiderImagePlugin.loadImageSeries(), they too were fixed.
2019-10-12 08:27:17 -07:00
Hugo
23fa3c6979 Remove outdated OS scripts, point docs to Dockerfiles 2019-10-12 14:16:10 +03:00
Andrew Murray
4140cd807b
Merge branch 'master' into rm-2.7 2019-10-12 18:03:58 +11:00
Andrew Murray
a8c07e3d5f Added orientation note [ci skip] 2019-10-11 22:40:31 +11:00
Hugo
0caa48b179 Remove redundant __future__ from docs
Co-Authored-By: Jon Dufresne <jon.dufresne@gmail.com>
2019-10-08 17:26:11 +03:00
Andrew Murray
fab0205abc Updated documentation [ci skip] 2019-10-08 21:12:15 +11:00
Hugo
538d9e2e5d Upgrade Python syntax with pyupgrade --py3-plus 2019-10-07 14:30:59 +03:00
Andrew Murray
e8cf9a6bc1
Merge pull request #4108 from hugovk/rm-deprecated-qt
Drop support for EOL PyQt4 and PySide
2019-10-07 12:35:56 +11:00
Hugo van Kemenade
ac563f77ad
Merge pull request #4118 from radarhere/backticks
Use double backticks
2019-10-06 12:03:49 +03:00
Andrew Murray
e0d67a1f9f Use double backticks [ci skip] 2019-10-06 14:39:10 +11:00
Andrew Murray
ecb3a30487 Clarified documentation [ci skip] 2019-10-06 13:52:58 +11:00
Andrew Murray
732eb7223f
Merge branch 'master' into rm-deprecated-qt 2019-10-06 13:35:38 +11:00
Andrew Murray
d6ae0a99a7 Removed deprecated setting of TIFF image sizes 2019-10-03 22:12:28 +10:00
Hugo van Kemenade
7821b34924
Merge branch 'master' into rm-deprecated-qt 2019-10-03 14:14:00 +03:00
Hugo
f898ccbaf8 Remove deprecated PILLOW_VERSION 2019-10-01 14:43:15 +03:00
Hugo
f0a87e25a4 Drop support for EOL PyQt4 and PySide 2019-09-30 17:58:31 +03:00
Andrew Murray
f85258a167 Documented #3950 [ci skip] 2019-09-28 16:43:54 +10:00
Hugo van Kemenade
310d2c9005
Add option to capture all monitors on Windows (#3950)
Add option to capture all monitors on Windows
2019-09-27 08:47:55 +03:00
nulano
3c311f5619 add version added [ci skip] 2019-09-27 00:58:32 +02:00
Andrew Murray
ffe1965b74 Documented #4086 [ci skip] 2019-09-26 19:30:32 +10:00
nulano
6a2d8f8da0 rename parameter, add note to docs 2019-09-20 17:35:08 +02:00
Andrew Murray
28f0940d59 Added example image [ci skip] 2019-09-15 06:06:28 +10:00
Andrew Murray
11c9e6c0dd Added release notes [ci skip] 2019-09-14 21:39:58 +10:00
Hugo
f792ab6c02 RST uses double backticks for code (MD uses 1) 2019-09-13 08:56:33 +03:00
Andrew Murray
da39d40342
Merge pull request #3978 from radarhere/stroke
Added text stroking
2019-09-06 19:14:49 +10:00
Hugo van Kemenade
97f6fc96f2
Merge pull request #4047 from radarhere/modes
Documented more limited support modes
2019-09-05 23:20:24 +03:00
Andrew Murray
5ad5be4a32 Reference Pillow not PIL [ci skip] 2019-09-06 06:13:12 +10:00
Andrew Murray
51457311de
Reference Pillow not PIL [ci skip]
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2019-09-06 06:10:40 +10:00
Andrew Murray
2a7ad14172 Added more limited support modes [ci skip] 2019-09-05 20:10:43 +10:00
Andrew Murray
1c8aae3016 Added Tidelift Subscription link [ci skip] 2019-09-05 19:31:55 +10:00
Andrew Murray
92e80b8b49
Merge pull request #3993 from radarhere/libimagequant
Updated libimagequant to 2.12.5
2019-08-17 20:02:12 +10:00
nulano
fa6b80fddf add option to capture all monitors on Windows 2019-08-15 20:03:33 +10:00
Andrew Murray
0527efd593 Corrected documentation of TIFF saving arguments [ci skip] 2019-08-07 19:53:35 +10:00
Andrew Murray
a9f34f221b Changed MAX_CONCURRENCY description [ci skip] 2019-08-05 20:32:01 +10:00
Andrew Murray
4283683948 Corrected note syntax [ci skip] 2019-08-03 23:24:28 +10:00
Andrew Murray
fa2f27244c Updated libimagequant to 2.12.5 2019-07-29 19:32:12 +10:00
Andrew Murray
f93a5d0972 Added text stroking 2019-07-29 06:40:03 +10:00
Andrew Murray
dfed1424d1 Improved ImageFont documentation 2019-07-25 20:04:45 +10:00
Andrew Murray
d87593633a Update Linux prerequisite packages 2019-07-20 19:30:28 +10:00
Hugo van Kemenade
1ab5670eb1
Introduce isort to automate import ordering and formatting (#3954)
Introduce isort to automate import ordering and formatting
2019-07-16 23:02:31 +03:00
Andrew Murray
9bfbd56d1a Updated Alpine Python version 2019-07-10 06:54:59 +10:00
Andrew Murray
6f0c51fb4a Added Debian Buster 2019-07-10 06:54:54 +10:00
Hugo
1f4900e51f
Merge branch 'master' into unused-sidebar 2019-07-07 07:45:33 +03:00
Hugo
82ec19ed6d
Merge pull request #3955 from jdufresne/static
Remove empty, unused directory docs/_static
2019-07-07 07:40:40 +03:00
Jon Dufresne
388803006c Remove unused docs/_templates directory
The only file, sidebarhelp.html, applies to the sphinx-better-theme
which is unused and was removed in
02f3685b2d.
2019-07-06 17:27:06 -07:00
Jon Dufresne
8fac23b3df Clean up several Sphinx warnings
Appeared as:

    Pillow/docs/reference/ImageDraw.rst:137: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageDraw.rst:164: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageDraw.rst:177: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageDraw.rst:208: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageStat.rst:24: WARNING: Explicit markup ends without a blank line; unexpected unindent.
2019-07-06 17:12:09 -07:00
Jon Dufresne
d8594041b5 Remove empty, unused directory docs/_static 2019-07-06 16:37:57 -07:00
Jon Dufresne
d50445ff30 Introduce isort to automate import ordering and formatting
Similar to the recent adoption of Black. isort is a Python utility to
sort imports alphabetically and automatically separate into sections. By
using isort, contributors can quickly and automatically conform to the
projects style without thinking. Just let the tool do it.

Uses the configuration recommended by the Black to avoid conflicts of
style.

Rewrite TestImageQt.test_deprecated to no rely on import order.
2019-07-06 16:11:35 -07:00
Hugo
f10712f006
Merge branch 'master' into release-notes 2019-07-01 12:58:30 +03:00
Hugo
7855a6fc2f
Docs: Add deprecation of Image.__del__ (#3929)
Docs: Add deprecation of Image.__del__
2019-07-01 12:57:54 +03:00
Hugo
e62dcc3d48 Add #3886 to release notes and CHANGES 2019-07-01 12:20:08 +03:00
Hugo
a2919f98ff Add #3928 to release notes, and #3928 and #3929 to CHANGES 2019-07-01 10:05:57 +03:00
Hugo
c15383695b Deprecate Image.__del__ 2019-07-01 09:55:54 +03:00
Hugo
66241cacc1 Add release notes for #3608 and #3861 2019-07-01 09:11:09 +03:00
Hugo
469c0aeeed Deprecate Image.__del__ 2019-07-01 08:45:19 +03:00
Oliver Tonnhofer
2af4026201 Improve encoding of TIFF tags (#3861)
* Improve encoding of TIFF tags

- Pass tagtype from v2 directory to libtiff encoder, instead of
autodetecting type.
- Use explicit types. E.g. uint32_t for TIFF_LONG to fix issues on
platforms with 64bit longs.
- Add support for multiple values (arrays). Requires type in v2
directory and values must be passed as a tuple.
- Add support for signed types (e.g. TIFFTypes.TIFF_SIGNED_SHORT).

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2019-06-30 21:48:19 +03:00
Andrew Murray
c994b783ec
Merge branch 'master' into tiff-jpeg-quality 2019-06-30 14:03:09 +10:00
Andrew Murray
9074eda608
Merge pull request #3778 from radarhere/all_frames
Added ImageSequence all_frames
2019-06-30 07:55:34 +10:00
Andrew Murray
d2fdb4818c
Fixed wording
Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-06-29 18:02:08 +10:00
Andrew Murray
1abcada1c5 Added release notes [ci skip] 2019-06-29 17:47:55 +10:00
Hugo
a0191dae1e
Documentation for Image module (#3776)
Documentation for Image module
2019-06-28 19:49:45 +03:00
Hugo
57e3af4afb Fix typo 2019-06-28 18:47:17 +03:00
Oliver Tonnhofer
2b7d8be536 tiff: add support for JPEG quality
Uses JPEGQUALITY pseudo-tag from libtiff.

Also changes the way tags are passed to PyImaging_LibTiffEncoderNew from
dict to list to ensure that COMPRESSION tag is added before JPEGQUALITY.
This is required as the COMPRESSION tag registers the JPEGQUALITY
pseudo-tag.
2019-06-26 06:33:54 +10:00
Oliver Tonnhofer
61add9d6b0 Improve encoding of TIFF tags
- Pass tagtype from v2 directory to libtiff encoder, instead of
autodetecting type.
- Use explicit types. E.g. uint32_t for TIFF_LONG to fix issues on
platforms with 64bit longs.
- Add support for multiple values (arrays). Requires type in v2
directory and values must be passed as a tuple.
- Add support for signed types (e.g. TIFFTypes.TIFF_SIGNED_SHORT).
2019-06-26 06:33:19 +10:00
Hugo
73884576d4 Some styling and wording 2019-06-24 11:04:13 +03:00
Hugo
72bf9f6529 Use the common test-suite image 2019-06-24 10:48:33 +03:00
Hugo
fd1d779ae1 Strip trailing whitespace 2019-06-24 10:45:53 +03:00
Hugo
c1b3adbd1b
Merge pull request #3910 from radarhere/xrgb
Changed bits value for XRGB unpackers
2019-06-22 10:24:24 +03:00
Hugo
f5cd8b4b0d
Merge pull request #3909 from hugovk/run-black
Format code with Black
2019-06-22 06:46:15 +03:00
Andrew Murray
0a73e31415 Added note about RGBX padding 2019-06-21 19:37:43 +10:00
Andrew Murray
dfa9e7aeff
Apply suggestions from code review [ci skip]
Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-06-20 20:31:57 +10:00
Andrew Murray
1d1edb8fc4 Added release notes for #3802 and #3856 [ci skip] 2019-06-20 20:01:43 +10:00
Hugo
1b99362f3d Merge remote-tracking branch 'upstream/master' into run-black 2019-06-19 09:29:28 +03:00
Andrew Murray
f33f4998b2 Renamed OS X reference to macOS [ci skip] 2019-06-15 08:02:28 +10:00
Hugo
471220093b Format with Black 2019-06-13 18:54:57 +03:00
Andrew Murray
231fe4d62a Revert "Merge pull request #3838 from radarhere/i_conversion"
This reverts commit 41f3e7c8bd, reversing
changes made to 2f84482871.
2019-06-11 19:28:31 +10:00
Hugo
6e22f6c9cc
Merge pull request #3889 from radarhere/libimagequant
Updated libimagequant to 2.12.3
2019-06-08 21:18:09 +03:00
Hugo
169961649d
Merge pull request #3848 from radarhere/pa
Improved palette handling for LA and PA modes
2019-06-05 22:32:44 +03:00
Hugo
41f3e7c8bd
Merge pull request #3838 from radarhere/i_conversion
Improved I mode conversion
2019-06-05 22:23:35 +03:00
Andrew Murray
e1df2118b3 Link method [ci skip] 2019-06-02 13:34:18 +10:00
Andrew Murray
a4d03bdf90 Updated libimagequant to 2.12.3 2019-05-27 19:23:00 +10:00
Andrew Murray
71a6cd513a Updated macOS tested Pillow versions [ci skip] 2019-05-27 19:22:37 +10:00
Andrew Murray
8be6609243 Added PA mode to docs [ci skip] 2019-05-18 20:41:59 +10:00
Andrew Murray
0678bfe084 Updated macOS CI target [ci skip] 2019-05-15 22:13:57 +10:00
Hugo
269c43d83b
Merge pull request #3846 from radarhere/doc
Documentation fixes
2019-05-12 09:55:52 +03:00
Andrew Murray
a258b8dcdc
Apply suggestions from code review [ci skip]
Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-05-09 19:05:06 +10:00
Andrew Murray
64eff66ee7 Updated pixel range documentation [ci skip] 2019-05-09 14:32:14 +10:00
Andrew Murray
110dd6236f Highlight function [ci skip] 2019-05-08 12:54:12 +10:00
Andrew Murray
d8c211ef07 Added release notes for #3808 and #3814 [ci skip] 2019-05-06 21:14:47 +10:00
Andrew Murray
f9f235ac2e Corrected use of function [ci skip] 2019-05-06 08:40:32 +10:00
Andrew Murray
38df9bef09 Added import [ci skip] 2019-05-06 08:38:43 +10:00
Hugo
b5703db0fa
CI: Add Fedora 30, remove Fedora 28 (#3821)
CI: Add Fedora 30, remove Fedora 28
2019-05-04 19:03:51 +03:00
Hugo
82d9ea5eac
Merge pull request #3808 from radarhere/imagegrab
Added option to include layered windows in ImageGrab.grab on Windows
2019-05-04 16:00:43 +03:00
Andrew Murray
1d67bf0539 Document pixel range [ci skip] 2019-05-04 16:11:16 +10:00
Hugo
c15dc4d7ca
Document format limitations of ImageStat.Stat.extrema (#3661)
Document format limitations of ImageStat.Stat.extrema
2019-05-03 22:14:14 +03:00
Hugo
1f179fab94 Docs: Update CI targets 2019-05-02 11:22:08 +03:00
Andrew Murray
70038bd71e Added option to include layered windows in ImageGrab.grab on Windows 2019-04-26 20:09:46 +10:00
Hugo
c23d4233cb
Merge pull request #3805 from radarhere/install_docs
Correct libimagequant installation requirements
2019-04-24 15:38:24 +03:00
Andrew Murray
31340bb3c6 Corrected names in documentation 2019-04-24 06:19:17 +10:00
Andrew Murray
16ef9e5746 Correct libimagequant installation requirements [ci skip] 2019-04-22 11:34:10 +10:00
Andrew Murray
0557ecbb3e Document class members automatically 2019-04-21 23:28:08 +10:00
Andrew Murray
93b96a6cb8 Improved documentation 2019-04-21 23:27:31 +10:00