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.

Parameters:
  • name (str) – Attribute name.

  • value (Any) – Attribute value.

  • type (OpenImageIO.TypeDesc | None) – Attribute type as an OpenImageIO TypeDesc class instance.

  • 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_