colour_clf_io.Info#
- class colour_clf_io.Info(app_release: str | None, copyright: str | None, revision: str | None, aces_transform_id: str | None, aces_user_name: str | None, calibration_info: CalibrationInfo | None)[source]#
Bases:
XMLParsable,XMLWritableRepresent an Info element.
Attributes
Methods
References
- Parameters:
- revision: str | None#
A string used to track the version of the LUT itself (e.g., an increased resolution from a previous version of the LUT).
- aces_transform_id: str | None#
A string containing an ACES transform identifier as described in Academy S-2014-002. If the transform described by the ProcessList is the concatenation of several ACES transforms, this element may contain several ACES Transform IDs, separated by white space or line separators. This element is mandatory for ACES transforms and may be referenced from ACES Metadata Files.
- aces_user_name: str | None#
A string containing the user-friendly name recommended for use in product user interfaces as described in Academy TB-2014-002.
- calibration_info: CalibrationInfo | None#
Container element for calibration metadata used when making a LUT for a specific device.
- static from_xml(xml: _Element | None, config: ParserConfig) Info | None[source]#
Parse and return a
colour_clf_io.Infoclass instance from the given XML element. Returns None` if the given XML element isNone.Expects the XML element to be a valid element according to the CLF specification.
- Parameters:
xml (_Element | None) – XML element to parse.
config (ParserConfig) – XML parser config.
- Returns:
class – Parsed XML node.
- Return type:
colour_clf_io.Info or
None- Raises:
colour_clf_io.errors.ParsingError – If the node does not conform to the specification, a
ParsingErrorexception will be raised. The error message will indicate the details of the issue that was encountered.
- __eq__(other)#
Return self==value.
- __hash__ = None#
- __init__(app_release: str | None, copyright: str | None, revision: str | None, aces_transform_id: str | None, aces_user_name: str | None, calibration_info: CalibrationInfo | None) None#
- __repr__()#
Return repr(self).