Skip to content

FileTransform: load from memory #1675

@MrKepzie

Description

@MrKepzie

FileTransform currently loads the LUT from a file no matter what.
https://github.com/AcademySoftwareFoundation/OpenColorIO/blob/main/src/OpenColorIO/transforms/FileTransform.cpp#L549

This may be useful for applications to wrap LUTs in memory files along with other data.
However, this requires currently a copy of the memory blog to a temporary file so that OCIO can read it. Making a "proxy" API such as what OpenImageIO does would enable such use case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions