Skip to main content

Converts between common ASC Color Decision List (CDL) formats

Project description

PyPI VersionBuild StatusCoverage StatusCode Health

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:

  • Avid Log Exchange (ALE)
  • Film Log EDL Exchange (FLEx)
  • CMX EDL
  • XML Color Correction (cc)
  • XML Color Correction Collection (ccc)

Unofficial Formats:

  • OCIOCDLTransform, a Foundry Nuke node
  • Space separated CDL, a Rhythm & Hues internal cdl format

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 is not associated with the American Society of Cinematographers

Conversions

Currently we support converting from:

  • ALE
  • CC
  • FLEx
  • CDL

To:

  • CC
  • Space Separated CDL

With support for both from and to expanding in the future.

Installation

Installing is as simple as using pip:

$ pip install cdl_convert

If you don’t want to bother with a pip style install, you can alternatively grab cdl_convert/cdl_convert.py, As this file is the script and all the functions and classes needed.

Usage

If you just want to convert to a .cc XML file, the only required argument is an input file, like so:

$ cdl_convert ./di_v001.flex

You can override the default .cc output, or provide multiple outputs with the -o flag.

$ cdl_convert ./di_v001.flex -o cc,cdl

Full help is available with --help

Code

CDL Convert is written for Python 2.6 through 3.4. Code is written for strict PEP 8 compliance, with all code being checked on push through landscape.io. Docstrings follow Google code standards.

Development uses Git Flow model.

License

Basic MIT License. If you use or modify the project I would love to hear from you. For more information on the license, please see the LICENSE file that accompanies the project.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cdl_convert, version 0.5.post2
Filename, size File type Python version Upload date Hashes
Filename, size cdl_convert-0.5.post2.tar.gz (14.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page