Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NamedTransform option to ocioconvert tool. #1988

Conversation

pennelee
Copy link
Contributor

Added two uage options to ocioconvert to apply NamedTransforms:

ocioconvert [options] --namedtransform transformname inputimage outputimage
ocioconvert [options] --invnamedtransform transformname inputimage outputimage

--namedtransform Convert using a named transform in the forward direction
--invnamedtransform Convert using a named transform in the inverse direction

Tested with cpu, gpu, gpulegacy on named transforms from OCIO configs (studio-config-v2.1.0_aces-v1.3_ocio-v2.3.ocio, cg-config-v2.1.0_aces-v1.3_ocio-v2.3.ocio) with various resolution EXR files (640x426, 1280x853, 1920x1280, 5182x3456).

Signed-off-by: pylee <penne.y.lee@intel.com>
Copy link
Collaborator

@doug-walker doug-walker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pennelee !!

@doug-walker doug-walker requested a review from cozdas July 22, 2024 01:25
Copy link
Collaborator

@cozdas cozdas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@doug-walker doug-walker merged commit 77133f5 into AcademySoftwareFoundation:main Aug 9, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants