Skip to content

Commit

Permalink
Implement support for "ctlrender".
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed May 8, 2022
1 parent 6a52d74 commit abec73f
Show file tree
Hide file tree
Showing 9 changed files with 1,224 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install Dependencies (macOS)
if: matrix.os == 'macOS-latest'
run: |
brew install gnu-sed graphviz
brew install ctl gnu-sed graphviz
ln -s /usr/local/bin/gsed /usr/local/bin/sed
shell: bash
- name: Install Dependencies (Ubuntu)
Expand Down
12 changes: 12 additions & 0 deletions colour/io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
from .image import READ_IMAGE_METHODS, WRITE_IMAGE_METHODS
from .image import read_image, write_image
from .image import as_3_channels_image
from .ctl import (
ctl_render,
process_image_ctl,
template_ctl_transform_float,
template_ctl_transform_float3,
)
from .ocio import process_image_OpenColorIO
from .tabular import (
read_spectral_data_from_csv_file,
Expand Down Expand Up @@ -41,6 +47,12 @@
"read_image",
"write_image",
]
__all__ += [
"ctl_render",
"process_image_ctl",
"template_ctl_transform_float",
"template_ctl_transform_float3",
]
__all__ += [
"as_3_channels_image",
]
Expand Down
Loading

0 comments on commit abec73f

Please sign in to comment.