colour.io.ImageAttribute_Specification

class colour.io.ImageAttribute_Specification(name, value, type_=None)[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__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

name

Alias for field number 0

type_

Alias for field number 2

value

Alias for field number 1