mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Put ImageOps additions next to each other
This commit is contained in:
parent
4404197b56
commit
8c134ad838
|
@ -4,6 +4,15 @@
|
|||
API Additions
|
||||
=============
|
||||
|
||||
Curved joints for line sequences
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
``ImageDraw.Draw.line`` draws a line, or lines, between points. Previously,
|
||||
when multiple points are given, for a larger ``width``, the joints between
|
||||
these lines looked unsightly. There is now an additional optional argument,
|
||||
``joint``, defaulting to ``None``. When it is set to ``curved``, the joints
|
||||
between the lines will become rounded.
|
||||
|
||||
ImageOps.colorize
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
@ -13,18 +22,9 @@ Now it supports three-color mapping with the optional ``mid`` parameter, and
|
|||
the positions for all three color arguments can each be optionally specified
|
||||
(``blackpoint``, ``whitepoint`` and ``midpoint``).
|
||||
For example, with all optional arguments::
|
||||
ImageOps.colorize(im, black=(32, 37, 79), white='white', mid=(59, 101, 175),
|
||||
ImageOps.colorize(im, black=(32, 37, 79), white='white', mid=(59, 101, 175),
|
||||
blackpoint=15, whitepoint=240, midpoint=100)
|
||||
|
||||
Curved joints for line sequences
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
``ImageDraw.Draw.line`` draws a line, or lines, between points. Previously,
|
||||
when multiple points are given, for a larger ``width``, the joints between
|
||||
these lines looked unsightly. There is now an additional optional argument,
|
||||
``joint``, defaulting to ``None``. When it is set to ``curved``, the joints
|
||||
between the lines will become rounded.
|
||||
|
||||
ImageOps.pad
|
||||
^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user