Skip to content

OpenColorIO in Android is not able to read configuration files #1580

@amyspark

Description

@amyspark

👋

This is to report that OpenColorIO is not able to read complete configuration files on Android due to its reliance on POSIX API semantics. Recent Android versions have introduced a "Scoped Storage" feature 1 to sandbox filesystem access by applications, and this unfortunately covers native code like OCIO's; the practical effect is that the system sends the app a "content://..." URL that is not parsable by native APIs.

This means that the only way to have a fully-functional, color-managed app is to supply a fully self-contained configuration file via OCIO::Config::CreateFromStream, as normal usage will fail at either the configuration creation or the LUT reading step.

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