API Reference¶
The class structure of cdl_convert mirrors the element structure of the XML schema for ccc, cdl and cc files as defined by the ASC. The XML schemas represent the most complicated and structured variant of the format, and therefore it behooves the project to mimic their structure.
However, where similar elements exist as entirely separate entities in the XML schema, they might have been combined here.
Core Classes¶
Quick Reference¶
Main Classes¶
ColorCorrection- The backbone class representing a single CDLColorCollection- Container for multiple CDLsColorDecision- Decision with correction and media referenceSopNode- Slope, Offset, Power valuesSatNode- Saturation value
Parse Functions¶
parse_file()- Auto-detect and parse any supported formatparse_cc()- Parse XML Color Correctionparse_ccc()- Parse Color Correction Collectionparse_cdl()- Parse Color Decision Listparse_ale()- Parse Avid Log Exchangeparse_cmx()- Parse CMX EDL
Write Functions¶
write_cc()- Write XML Color Correctionwrite_ccc()- Write Color Correction Collectionwrite_cdl()- Write Color Decision Listwrite_rnh_cdl()- Write Rhythm & Hues CDL