mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +03:00
Added documentation for width and height properties [ci skip]
This commit is contained in:
parent
3f7ec4e981
commit
65f5f05b4f
|
@ -181,6 +181,18 @@ Instances of the :py:class:`Image` class have the following attributes:
|
||||||
|
|
||||||
:type: ``(width, height)``
|
:type: ``(width, height)``
|
||||||
|
|
||||||
|
.. py:attribute:: width
|
||||||
|
|
||||||
|
Image width, in pixels.
|
||||||
|
|
||||||
|
:type: :py:class:`int`
|
||||||
|
|
||||||
|
.. py:attribute:: height
|
||||||
|
|
||||||
|
Image height, in pixels.
|
||||||
|
|
||||||
|
:type: :py:class:`int`
|
||||||
|
|
||||||
.. py:attribute:: palette
|
.. py:attribute:: palette
|
||||||
|
|
||||||
Colour palette table, if any. If mode is “P”, this should be an instance of
|
Colour palette table, if any. If mode is “P”, this should be an instance of
|
||||||
|
|
Loading…
Reference in New Issue
Block a user