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
Initialize self.
count
(value)index
(value, [start, [stop]])Raises ValueError if the value is not present.
Attributes
name
Alias for field number 0
type_
Alias for field number 2
value
Alias for field number 1