AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO
Add function to get interop ID from user-facing name
- Vorherrschende Sprache
- C++
- Sterne
- 2.1k
- Forks
- 503
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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).
Beitragsleitfaden
Rechercherichtung
Beginne damit, die API für Farbräume zu finden, die kanonische Namen, das Attribut Interop ID und Aliase bereitstellt. Überprüfe das Verhalten für eine direkte Interop ID und für eine über einen Alias gefundene Color Interop Forum ID, mit Tests, die beide Suchpfade abdecken.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- api
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100