cdl_convert converts between common ASC CDL formats. The American Society of Cinematographers Color Decision List (ASC CDL, or CDL for short) is a schema to simplify the process of interchanging color data between various programs and facilities.
The ASC has defined schemas for including the 10 basic numbers in 5 different formats:
Unofficial Formats:
It is the purpose of cdl_convert to convert ASC CDL information between these basic formats to further facilitate the ease of exchange of color data within the Film and TV industries.
cdl_convert supports parsing ALE, FLEx, CC, CCC, CDL and RCDL. We can write out CC, CCC, CDL and RCDL.
cdl_convert is not associated with the American Society of Cinematographers
New in version 0.7:
The biggest change in 0.7 is the addition of collection format support. .ccc, Color Correction Collections, can now be parsed and written. .cdl, Color Decision Lists, can now be parsed and written. .ale and .flex files now return a collection.
Renames ColorCollectionBase to ColorCollection , since it will be used directly by both ccc and cdl.
Adds parse_ccc which returns a ColorCollection .
Adds write_ccc which writes a ColorCollection as a ccc file.
Adds parse_cdl which returns a ColorCollection .
Adds write_cdl which returns a ColorCollection as a cdl file.
ColorCollection is now a fully functional container class, with many attributes and methods.
Added ColorDecision , which stores either a ColorCorrection or ColorCorrectionRef , and an optional MediaRef
Added ColorCorrectionRef , which stores a reference to a ColorCorrection
Added parent attribute to ColorCorrection .
Calling sop_node or sat_node on a ColorCorrection before attempting to set a SOP or Sat power now works.
ColorCorrection cdl_file init argument renamed to input_file, which is now optional and able to be set after init.
parse_cc and parse_rnh_cdl now only yield a single ColorCorrection , not a single member list.
Added dev-requirements.txt (contains mock)
All determine_dest methods now take a second directory argument, which determines the output directory.
Adds sanity_check function which prints values which might be unusual to stdout.
parse_cdl and write_cdl renamed to parse_rnh_cdl and write_rnh_cdl respectively.