Image

Inheritance diagram of rumba.Image
class Image

An Image.

Variables

default_value (Image) – Static. The default value.

Methods

__init__

Constructor(s)

channels()

Returns the image channels count.

height()

Returns the image height.

pixels()

Returns the image pixels.

width()

Returns the image width.

Properties

default_value

__init__()

Constructor(s)

Image (v: Value)

Cast a Value object in Image.

If v has not the good type, a default value is constructed.

channels() → int

Returns the image channels count.

Return type

int

height() → int

Returns the image height.

Return type

int

pixels() → None

Returns the image pixels.

Return type

None

width() → int

Returns the image width.

Return type

int