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

Allow parsing a LUT from a memory buffer rather than a file #2076

Open
doug-walker opened this issue Oct 9, 2024 · 0 comments
Open

Allow parsing a LUT from a memory buffer rather than a file #2076

doug-walker opened this issue Oct 9, 2024 · 0 comments
Labels
Feature Request New addition to OCIO functionality. help wanted Issues that the TSC has decided are worth implementing, but don't currently have the dev resources.

Comments

@doug-walker
Copy link
Collaborator

OCIO's LUT file parsing is set up to work from files on disk. It would be very helpful to be able to have a function that would take a memory buffer and use the LUT parsers to turn it into a GroupTransform.

There is a way to do this already using the recent ConfigIOProxy class. However, it takes a fair amount of code and a fair amount of OCIO expertise to write it. This task is to write that code and turn it into a parseFromBuffer method on the GroupTransform class.

The unit tests for ConfigIOProxy in Config_tests.cpp provide some good sample code that could be used as a starting point.

@doug-walker doug-walker added Feature Request New addition to OCIO functionality. help wanted Issues that the TSC has decided are worth implementing, but don't currently have the dev resources. labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New addition to OCIO functionality. help wanted Issues that the TSC has decided are worth implementing, but don't currently have the dev resources.
Projects
None yet
Development

No branches or pull requests

1 participant