Commit Graph

415 Commits

Author SHA1 Message Date
Jon Dufresne
d31bee5e35 Add backticks around Python classes and modules in open_files.rst 2019-03-22 06:12:08 -07:00
Jon Dufresne
deb8a7aadd Remove additional references to removed handles_eof
handles_eof was removed in 90760a5f30.
2019-03-22 05:58:22 -07:00
Ben Yang
8bd4bbb808 implemented language parameter for multiline ImageDraw methods, updated release notes 2019-03-11 20:21:52 -07:00
Ben Yang
515244b672 moved language parameter in ImageDraw documentation 2019-03-11 18:56:22 -07:00
Ben Yang
c6ad867178 added proper documentation for ImageFont.getsize() 2019-03-11 18:56:22 -07:00
Ben Yang
d5bbf01254 moved 'language' parameter to last parameter in relevant functions 2019-03-11 18:56:22 -07:00
Ben Yang
8624efd283 added ability to set language for text rendering 2019-03-11 18:55:46 -07:00
Hugo
6f24eda48a Document format limitations of ImageStat.Stat.extrema and recommend more efficient Image.getextrema 2019-03-06 17:49:25 +02:00
Andrew Murray
7477036230
Merge branch 'master' into imagecms-deprecations 2019-02-21 20:00:27 +11:00
Hugo
186f7d943b Document deprecation 2019-02-14 23:44:07 +02:00
Hugo
3ff70c2afc
Merge branch 'master' into imagecms-deprecations 2019-02-13 15:45:28 +02:00
Andrew Murray
4fe63e44d7 Fixed typo [ci skip] 2019-02-10 12:33:16 +11:00
Hugo
7d157bd825 Add warnings to deprecated CMS profile attributes 2019-01-28 15:40:19 +02:00
Andrew Murray
32c344b7ce Added note about ImageDraw operations that exceed image bounds [ci skip] 2019-01-27 22:10:54 +11:00
Hugo
398d2f0c15
Merge pull request #3522 from radarhere/imagechops
Improved ImageChops documentation
2019-01-01 12:21:28 +02:00
Andrew Murray
fc354cabaa Added method 2019-01-01 14:11:52 +11:00
Andrew Murray
671f7a392d Allow RGBA value for P image putpixel 2018-12-31 13:37:04 +11:00
Andrew Murray
3f6282e259 Allow RGB value for P image putpixel 2018-12-31 11:35:15 +11:00
Andrew Murray
b0330047ff Minor edit 2018-12-12 00:53:31 +11:00
Hugo
94f4c4a682
Apply suggestions from code review
Minor edits

Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com>
2018-12-12 00:50:32 +11:00
Andrew Murray
91f727051b Updated open files documentation 2018-12-11 14:39:10 +11:00
Andrew Murray
e805401403 Added documentation for negative index pixel access [ci skip] 2018-11-05 21:30:04 +11:00
Andrew Murray
1e305380ae
Merge pull request #3094 from hugovk/add-width-to-shapes
Add line width parameter to rectangle and ellipse-based shapes
2018-09-29 23:21:03 +10:00
Hugo
1b9a1c7ed7
Merge pull request #3279 from radarhere/pyside2
Added PySide2
2018-09-26 13:16:31 +03:00
Hugo
292fa6120e 'btt' (bottom to top) is not supported by libraqm 2018-09-18 13:41:55 +03:00
Hugo
e266b033d1 Update version added 2018-09-16 23:41:24 +03:00
Andrew Murray
53acbfc4d5 Added versionadded [ci skip] 2018-09-16 22:30:11 +10:00
Andrew Murray
f3842460ba Added line joints 2018-09-16 21:29:09 +10:00
Hugo
fbe5bdb6b6 Also apply width to pieslice's inner lines 2018-09-01 14:40:36 +03:00
Andrew Murray
df328a89a4 Added PySide2 2018-08-25 00:51:50 +10:00
Hugo
d6e3ef85c2 Add width parameter to arc, chord, ellipse, pieslice 2018-07-02 11:26:42 +03:00
Hugo
9dedbff713 Add width parameter to rectangle 2018-07-02 11:21:30 +03:00
Hugo
d6fa286e20
Merge pull request #3200 from radarhere/url
Updated redirected URLs
2018-06-30 11:21:55 +03:00
Andrew Murray
d9653a48c7 Added file handling links in documentation 2018-06-30 16:44:59 +10:00
Andrew Murray
bf96b9f87a Updated redirected URLs [ci skip] 2018-06-23 10:58:41 +10:00
Jon Dufresne
01c06ad6c6 Update Python 2 doc URLs to Python 3
Python 3 docs are more actively maintained and are the future.
2018-06-09 21:04:34 -07:00
Andrew Murray
3d82672404 Added getrgb hsb color string 2018-05-31 06:14:29 +10:00
Andrew Murray
b50f63430f Added getrgb hsv color string 2018-05-31 06:13:22 +10:00
Hugo
b6f337fa60 Clarify bounding box for arc, chord, ellipse, pieslice 2018-05-06 16:07:04 +03:00
Hugo
572c06f6cc
Merge pull request #3095 from hugovk/rm-del-draw
Remove 'del draw' from code example
2018-04-22 20:54:01 +03:00
Hugo
cbfc832ccd Remove 'del draw' from code example 2018-04-14 19:00:55 +03:00
Alexander
bdd8dc40f6 Return RankFilter and UnsharpMask order [ci skip] 2018-04-12 12:21:14 +03:00
Alexander
25a5f95d21 Add Color3DLUT to docs 2018-04-11 13:36:48 +03:00
Hugo
7f7d5aa183
Move intro text below its header
Allows hotlinking to include relevant intro:
https://pillow.readthedocs.io/en/latest/reference/Image.html#create-thumbnails
2018-02-28 14:50:02 +02:00
Hugo
4936b447f0
Merge pull request #2985 from Metallicow/trim-trailing-space
Trim trailing whitespace
2018-02-27 12:00:15 +02:00
Hugo
5ba51eb7e0
Merge pull request #3000 from radarhere/imagedraw
Correct reference to Image.new method
2018-02-27 11:55:18 +02:00
Andrew Murray
fc3c4c0119 Corrected reference to method 2018-02-14 20:09:00 +11:00
Andrew Murray
aa0ee9feab Rearranged classes into alphabetical order 2018-01-30 20:13:51 +11:00
Metallicow
b13025129b Trim trailing whitespace docs dir 2018-01-27 00:04:46 -06:00
Andrew Murray
1f40684743 Improved documentation 2017-12-30 21:23:04 +11:00
Lukas Waymann
4960da0519 Correct error in ImageDraw documentation [ci skip]
The first parameter of several functions is described as "four points".
It should be "two points" or "four coordinates".
2017-11-15 11:34:51 +01:00
Hasan Yusuf Ahmed
d891347b89
Corrected line 45 parameter name/documentation mismatch 2017-11-01 15:17:07 -04:00
Hasan Yusuf Ahmed
ee1f814479
Update PixelAccess.rst
Corrected parameter-name documentation mismatch.
2017-11-01 14:36:40 -04:00
Hugo
dfafd51a2c Link to maintained version of aggdraw
See https://github.com/pytroll/aggdraw/issues/11
2017-10-23 18:45:57 +03:00
Eric Soroos
306dcddc0b typos 2017-10-02 12:04:27 +00:00
Eric Soroos
fb04f88147 Block Allocator docs 2017-10-02 11:50:17 +00:00
wiredfool
0f17f0e5c0 Merge pull request #2281 from wilsonge/patch-1
Add note about aspect ratio to documentation
2017-10-01 20:16:00 +01:00
Andrew Murray
7e980d4897 Corrected docs syntax 2017-09-22 20:29:20 +10:00
Alexander
6900a7707f ImageFilter.BoxBlur 2017-09-14 01:59:25 +03:00
Andrew Murray
f5d6d8e57a Fixed documentation syntax [ci skip] 2017-09-02 11:21:12 +10:00
Alexander
b46b5c4e84 release notes
autodocs
fix docstring
note for `Image.split`
2017-08-12 01:24:53 +03:00
Andrew Murray
a05c2cf7ff Improved ImageDraw documentation 2017-07-16 15:22:46 +10:00
Andrew Murray
f33976f81d Corrected class name in ImageDraw docs 2017-07-16 15:21:26 +10:00
Jani Šumak
f8fb58f925 Added the description of the filename attribute to images.rst
Images created with `open` have a filename attribute, but the documentation does not mention it. This lead to a short, but interesting discussion on [Stackoverflow](https://stackoverflow.com/questions/45087638/get-image-filename-from-image-pil/).
2017-07-14 22:57:31 +01:00
wiredfool
b9b5d39f2b Merge pull request #2595 from wiredfool/issue_1911
Image.Image.alpha_composite Added
2017-07-01 11:43:58 +01:00
wiredfool
8feac899dd Merge pull request #2576 from wiredfool/pr_2284
Complex Text Support
2017-07-01 10:45:18 +01:00
wiredfool
9f7aae3505 Doc changes/additions 2017-06-29 07:02:02 -07:00
wiredfool
92b8db1935 Docs, wording 2017-06-29 05:14:43 -07:00
Andrew Murray
91215c384d Fixed typo [ci skip] 2017-06-24 15:04:37 +10:00
Fahad Al-Saidi
e07a254ed9 update 2017-06-21 14:00:14 -07:00
Fahad Al-Saidi
6dc4c7ea06 improve docs for CTL 2017-06-21 14:00:14 -07:00
shamsa
fe871bb736 Document complex text layout features. 2017-06-21 14:00:13 -07:00
Garland Trice
7b77ee5379 Fixing small typo
Working on a small project, reading thru the docs and noticed this.
2017-06-21 19:02:51 +10:00
wiredfool
c3e041e9e6 Merge branch 'master' into rm-deprecated-fn 2017-06-13 13:32:38 +01:00
Andrew Murray
dcd964fb22 Updated limits documentation [ci skip] 2017-06-08 20:21:00 +10:00
hugovk
4c3107c940 Remove docs about deprecated and already removed code 2017-05-27 22:16:40 +03:00
Andrew Murray
424a09ecad Updated references to point to existing files [ci skip] 2017-05-06 23:20:34 +10:00
George Wilson
1c94c9fbf2 Use suggested doc block 2017-04-22 20:02:35 +01:00
Bjorn
c7b7f5aa69 Add missing colon in :command:... 2017-04-04 23:10:22 +02:00
wiredfool
2030bf76f6 New Image methods 2017-04-03 13:21:50 -07:00
wiredfool
36a22e2d63 s/lena/hopper/ 2017-03-11 13:50:19 +00:00
wiredfool
1c0d1c547e PyDecoder documentation 2017-03-11 13:50:19 +00:00
Andrew Murray
973d1cfb3d Added PySide to ImageQt documentation [ci skip] 2017-02-05 14:45:55 +11:00
wiredfool
80b78be21a Merge pull request #2199 from jdufresne/dep-olefile
Remove vendored version of olefile Python package in favor of upstream
2016-12-13 20:12:29 +00:00
George Wilson
50adc0cf3f Add note about aspect ratio to documentation 2016-12-09 12:19:01 +00:00
Hugo
7dff4e5a8f Merge pull request #2269 from wiredfool/design-docs
Design docs
2016-12-09 11:01:03 +02:00
Andrew Murray
15347b6703 Fixed typo [ci skip] 2016-12-02 10:27:38 +11:00
wiredfool
937199e545 document limits 2016-12-01 09:11:04 -08:00
wiredfool
cf85e8f1c7 design docs for file closing 2016-12-01 08:28:09 -08:00
wiredfool
1fcde0bd9f design docs for file closing 2016-12-01 08:28:09 -08:00
Jon Dufresne
52b1f46b12 Deprecate vendored version of olefile Python package in favor of upstream
Pillow now requires the olefile Python package through setup.py.

This removes Pillow's maintenance of this library by instead relying on
and reusing the upstream version. No longer need to regularly update the
vendored package and docs. olefile bug fixes and features can go
directly upstream.

During travis tests, now installs Pillow package before tests; this will
also install all dependencies (currently, only olefile).
2016-11-22 18:17:31 -08:00
Hugo
7dbb1a5c99 Fix too-short title underline
https://travis-ci.org/python-pillow/Pillow/jobs/170394881#L3517
2016-10-25 15:24:19 +03:00
Andrew Murray
b58f76dc4f Renamed references to OS X to macOS 2016-09-23 21:12:03 +10:00
Andrew Murray
572a3d970c Removed whitespace from blank lines 2016-09-03 12:23:42 +10:00
Andrew Murray
5e5bda95e0 Removed trailing whitespace 2016-06-30 20:12:50 +01:00
cclauss
319eafbd1c Replace index= index +1 with += in ImageSequence Docs 2016-06-26 13:26:55 +01:00
Andrew Murray
935ac523bf Added OS X support for ImageGrab grabclipboard 2016-04-20 06:20:41 +10:00
wiredfool
1762bff3af Fix warnings in docs, we're not using terms or keywords 2016-04-19 07:29:59 -07:00
Marcus Brinkmann
e4437ca566 Add documentation for CmsProfile. 2016-03-07 19:19:16 +01:00
wiredfool
c09ba49f0f Merge pull request #1647 from radarhere/multiline
Allowed text method to pass on multiline_text method specific arguments
2016-02-01 01:18:51 -08:00
Andrew Murray
68ea064336 Added documentation [ci skip] 2016-02-01 09:22:18 +11:00
wiredfool
b44488a346 added TiffTags documentation 2016-01-16 13:36:11 +00:00
hugovk
b72b0295c7 'make linkcheck' fixes 2015-12-07 22:03:36 +02:00
Andrew Murray
d098e30c55 Updated OleFileIO version in docs [ci skip] 2015-12-06 23:15:11 +11:00
Andrew Murray
dcca128420 Fixed length of title underlines 2015-12-02 15:40:16 +11:00
Andrew Murray
6bd7e7f02d Removed trailing whitespace 2015-10-11 21:24:35 +11:00
Alex Clark
c446a8329e Move Plugins to Reference
Plugin references were previously unlinked AFAICT, now moved to references/ and linked from references index. (I'm not sure I fully understand or can recall if these API references are generated once then updated or generated each time via `make html` ?)
2015-09-30 07:31:06 -04:00
wiredfool
89ccf66ff7 Merge pull request #1343 from radarhere/deprecated
Removed deprecated code
2015-09-29 15:38:34 +01:00
Hugo van Kemenade
4d4dc99fa8 Mention when OS X support was added
To try and avoid confusion like http://stackoverflow.com/q/32799143/724176
2015-09-28 15:34:44 +03:00
wiredfool
1614f2fdb5 Documentation for IFD Changes 2015-09-14 07:01:57 -07:00
Andrew Murray
7c0554c74e Added support for ImageGrab.grab to OS X 2015-08-01 17:44:13 +10:00
Andrew Murray
d072ee469c Corrected ImageDraw multiline text param documentation [ci skip] 2015-07-15 22:43:52 +10:00
Hugo van Kemenade
7598f6c955 Add missing fill param
And re-order params to match method.

[CI skip]
2015-07-15 14:00:47 +03:00
Andrew Murray
94ed100bb2 Removed ImageDraw methods deprecated in PIL 1.1.15 2015-07-13 17:41:26 +10:00
Andrew Murray
65f5f05b4f Added documentation for width and height properties [ci skip] 2015-06-26 20:14:26 +10:00
Andrew Murray
9546fac7ec Added multiline documentation 2015-06-18 13:22:04 +10:00
Alex Clark
f95f13c6fa Merge pull request #1107 from acdha/tidy-DecompressionBombWarning-docs
Tidy docs for DecompressionBombWarning
2015-03-31 21:38:05 -04:00
Audrey Roy
967d39d1d6 Improve reference docs for PIL.ImageDraw.Draw.pieslice() 2015-03-23 21:16:53 -07:00
Chris Adams
5ec6fcdeaa Tidy docs for DecompressionBombWarning
* Fix formatting to display simplefilter examples as code blocks rather
  than italics
* Wrap text so it's not one incredibly long line
2015-02-10 13:15:47 -05:00
Arnie97
192e445b6e Changes "import Image" to "from PIL import Image". 2015-01-08 13:09:45 +08:00
Mikhail Korobov
68504305d0 DOC fix a Sphinx warning
:keyword: is for function arguments, not for Python keywords.
And True is not even a Python keyword.
2015-01-07 04:17:22 +05:00
homm
43d5d06ce4 rename Image.ANTIALIAS to Image.LANCZOS 2014-11-28 01:41:56 +03:00
Hugo
0accf25947 Merge pull request #1021 from wiredfool/save-docs
Docs for Image.save [ci skip]
2014-11-20 08:03:15 +02:00
Hugo
2676845e7e Merge pull request #1019 from wiredfool/load-docs
Docs for PyAccess, PixelAccess objects [ci skip]
2014-11-20 07:58:59 +02:00
wiredfool
176c804b39 Note on info not used for saving [ci skip] 2014-11-19 15:40:49 -08:00
wiredfool
ee6f150ef1 Docs for PyAccess, PixelAccess objects [ci skip] 2014-11-19 14:04:39 -08:00
wiredfool
d1f4633c7b Many links to mode concept anchor [ci skip] 2014-11-19 12:49:27 -08:00
wiredfool
ba178bef85 Added ref to getpalette 2014-11-09 20:51:20 -08:00
Marius Gedminas
2bdfb5b25e Mention Image.tobytes() in the API reference
It was inexplicably omitted.
2014-09-23 13:56:22 +03:00
wiredfool
1b170dad68 Partial opacity text example, parameters on ImageDraw.Draw [ci skip] 2014-07-22 16:43:23 -07:00
wiredfool
b6c33596b3 Broke out OleFileIO into its own page, Added docs from the readme 2014-07-15 16:56:59 -07:00
wiredfool
7dfec434fa Pulled ImageMorph into its own page 2014-07-15 16:20:20 -07:00
wiredfool
4a5d73cb1e Fixing errors when compiling docs 2014-07-14 22:25:02 -07:00
wiredfool
551cdedb45 Pulled ImageCms into it's own docpage 2014-07-14 21:57:58 -07:00
Aarni Koskela
42032b3286 Fix ImageStat.mean docs
The docs referred to `ImageStat.pixel`, which isn't a thing at all.

In addition, make it absolutely clear that all of the attributes return per-band data.
2014-07-15 00:44:12 +03:00
wiredfool
c9fccf8ba8 Reducing priority of exiftags docs 2014-07-12 09:35:38 -07:00
Michael Nagy
0b278f3376 Added docs for previously-undocumented ExifTags module. 2014-07-12 10:44:27 -05:00
hugovk
44c4eaebc8 Change hyperlinks to rst format [CI skip] 2014-07-04 17:01:52 +03:00
hugovk
c745b9abed Change hyperlinks to rst format [CI skip] 2014-07-04 16:53:26 +03:00
hugovk
c927ab266e Warn about decompression bombs 2014-06-27 21:30:08 +03:00
Hugo
4dcae4402c Add back the other bounding box [CI skip] 2014-05-27 23:55:43 +03:00
wiredfool
2662c38f5c Updating docs to reflect current understanding 2014-05-20 12:59:31 -07:00
wiredfool
8c6a4c0299 Docs changes for close/context manager 2014-04-17 21:53:49 -07:00
wiredfool
8550570187 Qt5 Documentation 2013-11-20 22:23:26 -08:00
Stephen Johnson
c3de637362 Fully document PIL.PSDraw 2013-10-13 22:30:00 -07:00
Stephen Johnson
7030e50b36 Fully document PIL.ImageWin 2013-10-13 22:19:12 -07:00
Stephen Johnson
4b4f090258 Fully document PIL.ImageTk 2013-10-13 22:09:02 -07:00
Stephen Johnson
81ea5c35cb Fully document PIL.ImageStat 2013-10-13 21:57:07 -07:00
Stephen Johnson
f284c194ca Fully document PIL.ImageSequence 2013-10-13 21:49:35 -07:00
Stephen Johnson
1a72ba260a Fully document PIL.ImageQt 2013-10-13 21:45:44 -07:00
Stephen Johnson
6566a73bcf Fully document PIL.ImagePath 2013-10-13 21:41:21 -07:00
Stephen Johnson
7881c86bba Document PIL.ImagePalette as best I can 2013-10-13 21:27:07 -07:00
Stephen Johnson
0f3f6dd1a3 Move ImageGrab docs back to ImageGrab.rst instead of autodoc 2013-10-13 09:56:58 -07:00
Stephen Johnson
20b9d9774a Fully document PIL.ImageOps; fix some :py:mod: markup 2013-10-12 22:17:45 -07:00
Stephen Johnson
e2d88b5a51 Fully document ImageMath 2013-10-12 17:40:14 -07:00
Stephen Johnson
cf7b72f9b9 Fully document PIL.ImageGrab 2013-10-12 17:22:02 -07:00
Stephen Johnson
bc0f53aceb Fully document PIL.ImageFont 2013-10-12 17:14:12 -07:00
Stephen Johnson
a2c67dc3af Fully document PIL.ImageFilter 2013-10-12 16:49:32 -07:00
Stephen Johnson
348daf9490 Document ImageFile.Parser 2013-10-12 13:57:27 -07:00
Stephen Johnson
b98c3f05cd Fix a couple of example imports 2013-10-12 13:53:31 -07:00
Stephen Johnson
f2be739fdf Fully document PIL.ImageEnhance 2013-10-12 13:48:34 -07:00
Stephen Johnson
5c9329d5ba Fully document PIL.ImageDraw 2013-10-12 00:52:01 -07:00
Stephen Johnson
88c700f3b2 Fully document PIL.ImageColor 2013-10-11 22:54:24 -07:00
Stephen Johnson
39d5e639f0 Fully document PIL.ImageChops 2013-10-11 22:45:09 -07:00
Stephen Johnson
b25e8c5d18 Fully document PIL.Image from handbook 2013-10-11 22:18:28 -07:00