Hugo van Kemenade
75c4acf02c
Fix typo
2023-04-19 06:46:58 -06:00
Andrew Murray
16aa710c78
Updated documentation
2023-04-10 20:14:15 +10:00
Andrew Murray
75388cfe42
Merge pull request #7059 from hugovk/rm-qt5
...
Remove deprecations for Pillow 10.0.0
2023-04-08 20:11:00 +10:00
Andrew Murray
c26b462159
Updated documentation
2023-04-08 11:52:38 +10:00
Hugo van Kemenade
59c9d87f8a
Remove support for PyQt5 and PySide2, deprecated in 9.2.0
2023-04-06 16:11:36 +03:00
Andrew Murray
4720774a85
Describe the effect of brightness and contrast factors above 1
2023-04-04 14:59:26 +10:00
Andrew Murray
498b475e82
Added links to more information about the enhancement factor
2023-04-04 13:23:19 +10:00
Andrew Murray
2b164943a3
Merge pull request #7017 from PyFPDF/c_extension_debugging
...
Minor improvement made to c_extension_debugging.rst
2023-03-20 11:56:08 +11:00
Auto-5
16d235f8bc
Fix order of arguments in docstring
2023-03-17 18:08:19 +00:00
Lucas Cimon
1bded83357
Update docs/reference/c_extension_debugging.rst
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-03-16 07:52:19 +01:00
Cimon Lucas (LCM)
4d77a579ba
[Doc] Minor improvement made to c_extension_debugging.rst
2023-03-15 19:26:42 +01:00
Andrew Murray
96e4e6160e
Added release notes for #6961 and #6954
2023-03-04 21:00:18 +11:00
Andrew Murray
6e9c0ae5a0
Further document that x1 >= x0 and y1 >= y0
2023-02-28 22:49:04 +11:00
Hugo van Kemenade
7e8b11b159
Merge pull request #6954 from radarhere/corners
2023-02-26 18:29:35 +02:00
Andrew Murray
742aff3718
Replace Python code-blocks with double colons
2023-02-24 08:17:10 +11:00
Andrew Murray
a55c2b42b9
If following colon, replace Python code-blocks with double colons
2023-02-18 20:34:52 +11:00
Andrew Murray
0f2a4c1ae5
Added "corners" argument to rounded_rectangle()
2023-02-16 19:19:17 +11:00
Andrew Murray
d3d7566d9a
Refer to Resampling enum
2023-01-07 11:27:43 +11:00
Andrew Murray
5c482e20af
Document new ExifTags enums
2022-12-24 08:32:58 +11:00
Andrew Murray
24a5405a9f
Added IFD enum
2022-11-28 08:39:56 +11:00
Andrew Murray
97a6f651d4
Added Interop tags
2022-11-08 12:01:15 +11:00
Hugo van Kemenade
7a06bc6357
Merge pull request #6533 from nulano/document_imagedraw_attributes
2022-10-25 13:06:17 +03:00
Hugo van Kemenade
5a6293bcaf
Merge pull request #6630 from radarhere/exiftags_enum
2022-10-24 23:50:09 +03:00
Andrew Murray
fea604f693
Merge pull request #6556 from radarhere/returns
...
Improved documentation of ImageDraw return values
2022-10-03 19:06:58 +11:00
Andrew Murray
d03f35b5bb
Added enums
2022-10-01 17:24:35 +10:00
David Walker
64d11d9123
Improve documentation for ImageDraw.rectangle and rounded_rectangle
...
Fixes #1668
2022-09-29 22:38:51 -07:00
Andrew Murray
34f61d6d2d
Updated redirected URLs
2022-09-23 22:13:50 +10:00
Andrew Murray
0cafaca7e8
Corrected dictionary name
2022-09-17 18:52:16 +10:00
Andrew Murray
209ec9da47
Use target
2022-09-06 06:43:52 +10:00
Andrew Murray
780de80e5c
Added examples for updating code
2022-09-03 22:23:05 +10:00
Andrew Murray
4783ecf41c
Updated return values to match ImageFont
2022-09-03 21:09:44 +10:00
Andrew Murray
a36b766d36
Simplified enum references
2022-09-03 20:53:22 +10:00
Andrew Murray
7966c344ac
Improved documentation of return values
2022-09-01 22:26:35 +10:00
Andrew Murray
2eca2989a2
Merge branch 'main' into pyaccess_pa
2022-08-31 20:56:38 +10:00
nulano
ced381edaa
Document ImageDraw attributes
2022-08-25 00:48:19 +02:00
Andrew Murray
a37593f004
Allow RGB and RGBA values for PA image putpixel
2022-08-14 14:34:42 +10:00
Andrew Murray
8135bd5cfb
Added documentation
2022-08-11 10:35:44 +10:00
Andrew Murray
729fe6f8b0
Updated indentation
2022-07-01 19:45:36 +10:00
nulano
ad5271d62f
Document replacements for individual deprecated font methods
2022-06-30 15:03:55 +02:00
Andrew Murray
65020e7c7c
Documented deprecation in individual methods
2022-06-30 15:03:12 +02:00
Andrew Murray
3c0b8763ab
Added documentation and release notes
2022-06-30 14:23:22 +02:00
Andrew Murray
463d18191a
Document use of gnome-screenshot
2022-06-13 10:16:30 +10:00
Andrew Murray
70a060e765
Document apply_transparency()
2022-06-11 22:31:07 +10:00
Andrew Murray
5da5cafb31
Added all_frames() to documentation
2022-04-26 20:33:29 +10:00
Andrew Murray
bcded33cee
Merge pull request #6195 from hugovk/cleanup
...
Cleanup: various
2022-04-26 18:51:44 +10:00
Hugo van Kemenade
f854d7f7c9
Deprecate support for Qt 5 (PyQt5 and PySide2). Use Qt 6 (PyQt6 or PySide6) instead.
2022-04-22 15:56:11 +03:00
Hugo van Kemenade
965df6df6f
Add missing paramters to docstrings
2022-04-10 23:39:54 +03:00
Hugo van Kemenade
4cb8e4b3fa
Add deprecations helper
2022-04-06 13:19:52 +03: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
Andrew Murray
de968dd920
Document that histogram() uses 256 bins per channel
2022-03-02 21:21:25 +11:00
Andrew Murray
4615e1d42a
Document alternatives to accessing individual pixels
2022-03-01 14:13:40 +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
Andrew Murray
a0e1fde1ed
Added PyEncoder
2022-02-25 16:07:01 +11:00
Hugo van Kemenade
b14aa51037
Replace requirements.txt with extras_require
2022-02-24 17:59:34 +02:00
Andrew Murray
40561c9517
Document #6045
2022-02-21 21:04:24 +11:00
Andrew Murray
7dca0135dd
Merge branch 'main' into fits
2022-02-19 14:41:45 +11:00
Andrew Murray
dfdb17671d
Added FITS reading
2022-02-15 11:22:46 +11:00
Andrew Murray
f8e4e9c2dd
Added enums
2022-01-15 09:02:31 +11:00
Andrew Murray
d0faeb4e5e
Added XDGViewer class
2021-12-23 11:15:29 +11:00
Andrew Murray
675c5e1a9c
Apply black formatting to code examples
2021-12-04 07:50:08 +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
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
Andrew Murray
d0a30ec369
Updated documentation
2021-07-29 16:20:20 +10:00
Andrew Murray
622a1cd542
Changed URLs to HTTPS
2021-07-12 21:00:36 +10:00
Hugo van Kemenade
20b8a83773
Merge pull request #5437 from radarhere/stdout
2021-05-03 11:57:46 +03:00
Andrew Murray
b432f838f1
Documented ImageOps contain method
2021-05-01 22:53:46 +10:00
Andrew Murray
bb12c8079e
Added missing import
2021-04-29 21:35:57 +10:00
Hugo van Kemenade
8c852e44f0
Merge pull request #5349 from latosha-maltba/master
2021-04-01 11:55:37 +03:00
Hugo van Kemenade
e405ab300b
Merge pull request #5351 from radarhere/categories
2021-03-28 14:34:50 +03: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
f5d49f4f61
Added rounded_rectangle method
2021-03-08 19:53:59 +11:00
Ondrej Baranovič
14671f715f
Merge branch 'master' into sbix
2021-03-07 20:05:25 +01:00
Kipkurui Mutai
5e0a4acb85
Update ImageShow.rst
2021-03-04 08:56:13 +11:00
Andrew Murray
80e570bb99
Added context managers
2021-02-25 23:41:31 +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
e64d62e568
Adjusted formatting [ci skip]
2021-02-09 19:47:40 +11:00
Andrew Murray
6c0af0fdfb
Removed ImageDraw reference
2021-02-09 19:46:07 +11:00
Andrew Murray
e4a8783e88
Changed example value to avoid using "a"
2021-02-09 19:44:51 +11:00
Andrew Murray
a5d8d1e163
Removed outdated documentation [ci skip]
2021-02-08 22:00:48 +11:00
nulano
aa742fd8a4
Document availability of tk version number. [ci skip]
2021-01-25 22:13:33 +01:00
Andrew Murray
a6fc7a5320
Changed example image file name [ci skip]
2021-01-09 21:14:02 +11:00
Andrew Murray
497f9e2764
Fixed unexpected indentation [ci skip]
2021-01-08 00:06:18 +11:00
Esteban Gehring
930059814d
docs: add alpha channel to supported hex color specifiers
2021-01-04 13:42:15 +01:00
Eric Soroos
6b6c0b3692
Added docs for C-Extension debugging with valgrind [ci-skip]
2021-01-02 13:07:30 +01:00
Andrew Murray
6ee74e1f18
Document limited number of characters [ci skip]
2020-12-27 12:48:29 +11:00
Hollow Man
889409ded3
Fix use of a versus an in ImageCms.rst
...
an color -> a color
2020-12-20 22:31:25 +08:00
Andrew Murray
5b2da5f7b0
Link directly to pilfont script [ci skip]
2020-11-04 21:52:00 +11:00
Andrew Murray
3581600bf3
Clarified that "text" must be a string [ci skip]
2020-10-26 06:58:20 +11:00
nulano
d7a08cbd15
add color support to new text measuring functions
2020-10-12 16:05:19 +01:00
nulano
90e8255ba4
Merge remote-tracking branch 'upstream/master' into anchor-part3
...
# Conflicts:
# Tests/test_imagefontctl.py
2020-10-12 15:50:45 +01:00
nulano
845bfda3ff
fix docs formatting
2020-10-12 05:08:58 +01:00
nulano
b85fabca70
Apply suggestions from code review
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-10-11 22:25:16 +02:00
nulano
be4d5221ad
remove extra information
2020-10-11 21:21:38 +01:00
nulano
067a254366
Apply suggestions from code review
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-10-11 21:55:32 +02:00
nulano
c80f123923
document ImageDraw.textlength and ImageDraw.textbbox
2020-10-09 01:43:23 +01:00
nulano
395aa946a9
add getbbox and getlength, with tests
...
Squashed commits:
[ec9ec31b] add tests for invalid anchor
(cherry picked from commit 9e50a6a47f79876ee56942152047f03fff03c49b)
[386a9170] fix lint and docs
(cherry picked from commit 2d0d5282fcfc3ee332a41e60b865ee766445cc3d)
[29f5d4c9] restore and document previous getsize behaviour
see discussion in issue 4789
(cherry picked from commit 9fbc94571ce0ed42fdd11e99f343a1613c9dc6d3)
[0ffd51a0] add getbbox and getlength, with tests
(cherry picked from commit c5f63737476a998c81e589e5819d21ca69bb7b46)
2020-10-09 00:56:58 +01:00
nulano
9151da162c
add support for CBDT and embedded bitmaps in truetype fonts
2020-10-07 05:29:17 +01:00
nulano
82a28d12e2
add support for fonts with COLR data
2020-10-07 05:29:10 +01:00
nulano
e696bb06d8
update version numbers
2020-10-04 20:28:24 +01:00
nulano
a9b8dcba7d
write anchor docs
...
(cherry picked from commit dcaee36941e6cb5e6f93186b6f819fb74887e0d3)
2020-09-22 14:58:17 +02:00
nulano
e6d4c2ce8f
implement text anchor for truetype fonts
...
(cherry picked from commit bac9025918ccf944bac77addc130f33cf9d74701)
2020-09-19 15:17:45 +02:00
Hugo van Kemenade
3dba4ee10a
Merge pull request #4846 from comhar/features/compute_polygon_coordinates
2020-09-04 23:28:43 +03:00
Hugo van Kemenade
e0eec1eb56
Merge branch 'master' into rm-3.5
2020-09-01 20:16:46 +03:00
Tommy C
b142560488
Rename b_circle
and bounding_circle
+ accept ((x0, y0), r)
...
Summary of changes
- Rename `b_circle` and `bounding_circle`
-`bounding_circle` now accepts both formats below:
- (x0, y0, r)
- ((x0, y0), r)
2020-08-22 20:19:23 +01:00
Tommy C
df9329f9f0
Replace bbox
with b_circle
, kwargs with args + minor tweaks
...
Summary of changes:
- `ImageDraw.regular_polygon` now accepts a bounding circle which
inscribes the polygon. A bounding circle is defined by a center point
(x0, y0) and a radius. A bounding box is no longer accepted.
- All keyword args have been replaced with positional args.
Misc
- Test image file renaming, minor variable name changes
2020-08-20 20:46:11 +01:00
Tommy C
ac7d41545d
Update regular_polygon
args + arg checks
...
Summary of changes
- Allow positional args in `regular_polygon` method
- Allow multiple bounding box formats
- (e.g. bbox = [(x0, y0), (x1, y1)] or [x0, y0, x1, y1])
- Check if bounding box is square
- Update var names
- b_box => bbox
- nb_sides => n_sides
2020-08-16 21:07:16 +01:00
Tommy C
0ed01dd964
Add ImageDraw.regular_polygon
2020-08-16 13:29:13 +01:00
Hugo van Kemenade
dece040ee8
Fix RST backticks
2020-08-08 22:39:28 +03:00
Hugo van Kemenade
10615a7da7
Upgrade Python syntax for 3.6+
...
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-30 10:09:18 +03:00
Andrew Murray
11de331886
Merge pull request #4798 from hugovk/rm-deprecated-notimplemented
...
Remove long-deprecated Image.py functions
2020-07-24 20:48:20 +10:00
Hugo van Kemenade
ea96cbeddc
Alphabetise
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-07-22 12:10:23 +03:00
Andrew Murray
7f829b60c9
MAX_IMAGE_PIXELS can be changed
2020-07-21 23:01:51 +10:00
Andrew Murray
5abf0eb4f3
Include reference to DecompressionBombError
2020-07-21 21:46:31 +10:00
Andrew Murray
265bfef36e
Improved documentation
2020-07-21 20:46:50 +10:00
Andrew Murray
d98b85d386
Capitalise and hyphenate [ci skip]
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-20 23:08:25 +10:00
Andrew Murray
9db4a84983
Documented MAX_IMAGE_PIXELS
2020-07-20 21:16:33 +10:00
Hugo van Kemenade
415a4aa8ac
Add PIL.Image.Image.frombytes to docs
2020-07-18 10:13:18 +03:00
Hugo van Kemenade
40aefc6ba5
Remove im.offset, deprecated in 2001; and fromstring and tostring, deprecated in 2013
2020-07-17 10:55:20 +03:00
Andrew Murray
470bf71e7a
Removed domain references from image expressions
2020-07-14 22:36:42 +10:00
Andrew Murray
291208b581
Merge pull request #4768 from hugovk/rm-deprecated-ImageCms.CmsProfile-attributes
...
Remove ImageCms.CmsProfile attributes deprecated since 3.2.0
2020-07-12 08:10:34 +10:00
nulano
7ce6a15062
Merge remote-tracking branch 'upstream/master' into refs-animated
...
# Conflicts:
# docs/reference/Image.rst
2020-07-11 12:33:36 +02:00
Hugo van Kemenade
4ca7e7e699
Merge pull request #4771 from nulano/refs-misc
2020-07-11 12:42:50 +03:00
nulano
1ac943991a
Apply suggestions from code review
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-11 13:25:10 +10:00
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
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
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
nulano
9589159585
use cross-reference for None value
2020-07-10 00:08:27 +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
Andrew Murray
91bd2d3752
Altered descriptions [ci skip]
2020-07-05 13:34:40 +01:00
nulano
74899cd6cf
Merge branch 'master' into refs-animated
2020-07-02 12:58:09 +01: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