colour.io.Image_Specification_Attribute#

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

Define an image specification attribute.

Parameters:
  • name (str) – Attribute name.

  • value (Any) – Attribute value.

  • type (Optional[OpenImageIO.TypeDesc]) – Attribute type as an OpenImageIO TypeDesc class instance.

  • type_ (Optional[OpenImageIO.TypeDesc])

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

  • value (Any)

  • type_ (Optional[OpenImageIO.TypeDesc])

Return type:

None

Methods

__init__(name, value[, type_])

Attributes

name

value

type_