Frame#

Added in version 2.0.

class Frame(**properties: Any)#

Superclasses: Object

A frame of an image often being the complete image.

Methods#

class Frame
get_buf_bytes() → Bytes#

Image data arranged according to get_memory_format

Added in version 2.0.

get_color_cicp() → Cicp | None#

Returns the CICP (coding-independent code point) for the frames texture. This value is NULL if no CICP is used.

Added in version 2.0.

get_delay() → int#

Duration to show frame for animations.

If the value is zero, the image is not animated.

Added in version 2.0.

get_height() → int#

Height for image data in pixels

Added in version 2.0.

get_memory_format() → MemoryFormat#

Format of the image data in get_buf_bytes

Added in version 2.0.

get_stride() → int#

Width of a row for image data in bytes

Added in version 2.0.

get_width() → int#

Width for image data in pixels

Added in version 2.0.