AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

Add function to get interop ID from user-facing name

Offen
#2,170 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Feature Request Needs Discussion
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

Beitragsleitfaden öffnen

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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.