mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Merge pull request #3000 from radarhere/imagedraw
Correct reference to Image.new method
This commit is contained in:
commit
5ba51eb7e0
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
The :py:mod:`ImageColor` module contains color tables and converters from
|
The :py:mod:`ImageColor` module contains color tables and converters from
|
||||||
CSS3-style color specifiers to RGB tuples. This module is used by
|
CSS3-style color specifiers to RGB tuples. This module is used by
|
||||||
:py:meth:`PIL.Image.Image.new` and the :py:mod:`~PIL.ImageDraw` module, among
|
:py:meth:`PIL.Image.new` and the :py:mod:`~PIL.ImageDraw` module, among
|
||||||
others.
|
others.
|
||||||
|
|
||||||
.. _color-names:
|
.. _color-names:
|
||||||
|
|
|
@ -44,7 +44,7 @@ Colors
|
||||||
^^^^^^
|
^^^^^^
|
||||||
|
|
||||||
To specify colors, you can use numbers or tuples just as you would use with
|
To specify colors, you can use numbers or tuples just as you would use with
|
||||||
:py:meth:`PIL.Image.Image.new` or :py:meth:`PIL.Image.Image.putpixel`. For “1”,
|
:py:meth:`PIL.Image.new` or :py:meth:`PIL.Image.Image.putpixel`. For “1”,
|
||||||
“L”, and “I” images, use integers. For “RGB” images, use a 3-tuple containing
|
“L”, and “I” images, use integers. For “RGB” images, use a 3-tuple containing
|
||||||
integer values. For “F” images, use integer or floating point values.
|
integer values. For “F” images, use integer or floating point values.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user