colour.io.ImageAttribute_Specification¶
- class colour.io.ImageAttribute_Specification(name: str, value: Any, type_: Optional[OpenImageIO.TypeDesc] = <factory>)[source]¶
Define an image specification attribute.
- Parameters
name (str) – Attribute name.
value (Any) – Attribute value.
type (Optional[OpenImageIO.TypeDesc]) – Attribute type as an OpenImageIO
TypeDesc
class instance.type_ (Optional[OpenImageIO.TypeDesc]) –
- Return type
None
- __init__(name: str, value: Any, type_: Optional[OpenImageIO.TypeDesc] = <factory>) None ¶
- Parameters
name (str) –
value (Any) –
type_ (Optional[OpenImageIO.TypeDesc]) –
- Return type
None
Methods
__init__
(name, value[, type_])Attributes
name
value
type_