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
TypeDescclass instance.
Returns a new instance of the
colour.ImageAttribute_Specificationclass.- __init__()¶
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
nameAlias for field number 0
type_Alias for field number 2
valueAlias for field number 1