5.12. sail.bm_image

Functions to get bm_image attributes.

5.12.1. width

Get width of image.

Interface:
def width(self) -> int

Returns:

  • width : int

The width of image.

5.12.2. height

Get height of image.

Interface:
def height(self) -> int

Returns:

  • height : int

The height of image.

5.12.3. format

Get format of image.

Interface:
def format(self) -> bm_image_format_ext

Returns:

  • format : bm_image_format_ext

Get the format of image.

5.12.4. dtype

Get dtype of image.

Interface:
def dtype(self) -> bm_image_data_format_ext

Returns:

  • dtype : bm_image_data_format_ext

The dtype of image.