colour.io.ImageAttribute_Specification

class colour.io.ImageAttribute_Specification[source]

Defines the an image specification attribute.

Parameters:
  • name (unicode) – Attribute name.
  • value (object) – Attribute value.
  • type (TypeDesc, optional) – Attribute type as an OpenImageIO TypeDesc class instance.

Returns a new instance of the colour.ImageAttribute_Specification class.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

count Return number of occurrences of value.
index Return first index of value.

Attributes

name Alias for field number 0
type_ Alias for field number 2
value Alias for field number 1