:right-sidebar: True Frame =================================================================== .. currentmodule:: gi.repository.Gly .. versionadded:: 2.0 .. class:: Frame(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.Object` A frame of an image often being the complete image. Methods ------- .. rst-class:: interim-class .. class:: Frame :no-index: .. method:: get_buf_bytes() -> ~gi.repository.GLib.Bytes Image data arranged according to :obj:`~gi.repository.Frame.get_memory_format` .. versionadded:: 2.0 .. method:: get_color_cicp() -> ~gi.repository.Gly.Cicp | None Returns the CICP (coding-independent code point) for the frames texture. This value is ``NULL`` if no CICP is used. .. versionadded:: 2.0 .. method:: get_delay() -> int Duration to show frame for animations. If the value is zero, the image is not animated. .. versionadded:: 2.0 .. method:: get_height() -> int Height for image data in pixels .. versionadded:: 2.0 .. method:: get_memory_format() -> ~gi.repository.Gly.MemoryFormat Format of the image data in :obj:`~gi.repository.Gly.Frame.get_buf_bytes` .. versionadded:: 2.0 .. method:: get_stride() -> int Width of a row for image data in bytes .. versionadded:: 2.0 .. method:: get_width() -> int Width for image data in pixels .. versionadded:: 2.0