Image.width#

property Image.width: int[source]#

Image width

Returns:

Width of image in pixels

Return type:

int

Example:

>>> from machinevisiontoolbox import Image
>>> img = Image.Read('flowers1.png')
>>> img.width
640
Seealso:

height size umax