machinevisiontoolbox.Image.width

property Image.width

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