AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

Add function to get interop ID from user-facing name

Open
#2,170 0 comments 0 reactions 0 assignees View on GitHub
Feature Request Needs Discussion
Dominant language
C++
Stars
2.1k
Forks
503
PR merge metrics
No merged PRs in 30d

Description

For apps that write file formats that take a color space string, the best practice is to write the Interop ID. Therefore, it would be helpful to have an API call to take the user-facing name (i.e., the canonical name) and return the Interop ID.

If the color space has the Interop ID attribute, this is straight-forward, but the fallback should be to search the color space's aliases to see if a known Interop ID is present (in particular, the Color Interop Forum IDs).

Contributor guide

Open the contributing guide

Research direction

Start by locating the color-space API that exposes canonical names, the Interop ID attribute, and aliases. Verify the behavior for a direct Interop ID and for a Color Interop Forum ID found through an alias, with tests covering both lookup paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.