colour.io.Image_Specification_Attribute#

class colour.io.Image_Specification_Attribute(name: str, value: Any, type_: OpenImageIO.TypeDesc | None = <factory>)[source]#

Define an image specification attribute for OpenImageIO operations.

Parameters:
  • name (str) – Attribute name identifying the metadata field.

  • value (Any) – Attribute value containing the metadata content.

  • type (OpenImageIO.TypeDesc | None) – Attribute type as an OpenImageIO TypeDesc class instance specifying the data type of the value.

  • type_ (OpenImageIO.TypeDesc | None)

__init__(name: str, value: Any, type_: OpenImageIO.TypeDesc | None = <factory>) None#
Parameters:
  • name (str)

  • value (Any)

  • type_ (OpenImageIO.TypeDesc | None)

Return type:

None

Methods

__init__(name, value, type_)

Attributes

name

value

type_