Generation#

Version Utilities#

opencolorio_config_aces

PROFILE_VERSION_DEFAULT

A semver compatible version class.

PROFILE_VERSIONS

Built-in mutable sequence.

Build Configuration Utilities#

opencolorio_config_aces

BUILD_CONFIGURATIONS

Built-in mutable sequence.

BUILD_VARIANT_FILTERERS

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2).

BuildConfiguration(aces, colorspaces, ocio, ...)

Define an OpenColorIO config build configuration.

Config Generation Common Objects#

opencolorio_config_aces

ConfigData(schema_version, profile_version, ...)

Define the data container for an OpenColorIO config.

deserialize_config_data(path)

Deserialize the JSON OpenColorIO config data container at given path.

generate_config(data[, config_name, ...])

Generate the OpenColorIO config from given data.

serialize_config_data(data, path)

Serialize the OpenColorIO config data container as a JSON file.

validate_config(config)

Validate given OpenColorIO config.

Factories#

opencolorio_config_aces

BUILTIN_TRANSFORMS

Mapping of OpenColorIO builtintransforms to their profile version.

TRANSFORM_FACTORIES

OpenColorIO transform factories.

colorspace_factory(name[, family, encoding, ...])

OpenColorIO Colorspace factory.

group_transform_factory(transforms)

OpenColorIO GroupTransform factory.

look_factory(name[, process_space, ...])

OpenColorIO Look factory.

named_transform_factory(name[, family, ...])

OpenColorIO NamedTransform factory.

produce_transform(transform)

Produce given transform.

transform_factory(**kwargs)

OpenColorIO transform factory.

view_transform_factory(name[, family, ...])

OpenColorIO ViewTransform factory.

Reference Configuration#

aces-dev Discovery#

opencolorio_config_aces

version_aces_dev()

Return the current aces-dev version, trying first with git, then by parsing the CHANGELOG.md file.

classify_aces_ctl_transforms(...)

Classifie given ACES CTL transforms.

discover_aces_ctl_transforms([root_directory])

Discover the ACES CTL transform paths in given root directory: The given directory is traversed and the *.ctl files are collected.

filter_amf_components(amf_components, ...[, ...])

Filter the ACES AMF components for specified ACEStransformID.

filter_ctl_transforms(ctl_transforms[, ...])

Filter given ACES CTL transforms with given filterers.

generate_amf_components([...])

Generate the ACES AMF components from the transforms.json file.

print_aces_taxonomy()

Print aces-dev taxonomy:

unclassify_ctl_transforms(...)

Unclassify given ACES CTL transforms.

aces-dev Conversion Graph#

opencolorio_config_aces

build_aces_conversion_graph(ctl_transforms)

Build the aces-dev conversion graph from given ACES CTL transforms.

conversion_path(graph, source, target)

Return the conversion path from the source node to the target node in the aces-dev conversion graph.

ctl_transform_to_node(graph, ctl_transform)

Return the node name from given ACES CTL transform.

filter_nodes(graph[, filterers])

Filter given aces-dev conversion graph nodes with given filterers.

node_to_ctl_transform(graph, node)

Return the ACES CTL transform from given node name.

plot_aces_conversion_graph(graph, filename)

Plot given aces-dev conversion graph using Graphviz and Pydot.

aces-dev Reference Config Generator#

opencolorio_config_aces

DescriptionStyle(*values)

Enum storing the various OpenColorIO description styles.

generate_config_aces([config_name, ...])

Generate the aces-dev reference implementation OpenColorIO config using the Mapping method.

ACES Computer Graphics (CG) Config Generator#

opencolorio_config_aces

generate_config_cg([data, config_name, ...])

Generate the ACES Computer Graphics (CG) OpenColorIO config.

ACES Studio Config Generator#

opencolorio_config_aces

generate_config_studio([data, config_name, ...])

Generate the ACES Studio OpenColorIO config.

Generation Utilities#

opencolorio_config_aces

BUILTIN_TRANSFORMS

Mapping of OpenColorIO builtintransforms to their profile version.