Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

How to handle file assets where the color space metadata is set to Unknown

Aperta
#131 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Ambito
tooling

Direzione di ricerca

L’issue non indica file, test o punti di ingresso. Inizia esaminando le definizioni di configurazione integrate di ACES e la gestione da parte di OpenColorIO di uno spazio colore "Unknown"; il lavoro sarà considerato completo quando sarà disponibile una raccomandazione concordata per il comportamento dell’applicazione e per le configurazioni integrate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

question

In the ASWF Color Interop Forum recommendations, there is a color space "Unknown". This is intended to be used by application developers when they need to set the color space metadata in some file format if they don't actually know what the real color space is. This is intended to help avoid the common problem where developers simply "guess" and set something that turns out to be wrong.

The question then is what should happen when reading a file that is tagged with the color space "Unknown"?

If config authors include "Unknown" in their config pointing to whatever color space they want to use as a default for handling that scenario, then it requires no special action on the part of the application. This could be done by defining a new color space or role, or by adding an alias to an existing color space.

However, the config author may want the application to ask the user to identify the color space rather than relying on a default. This is historically indicated by setting the "strictparsing" attribute of the config to "true".

So a possible recommendation for app developers would be to proceed as follows:

  1. Simply pass the color space to OCIO. If the config author has defined "Unknown", it will be handled at that time.
  2. If it doesn't match a color space in the config, the app could check if the string is "Unknown" and if so, then check the config's strictparsing attribute. If it's true, the app should ask the user to select a color space. (Though config authors should be aware that it won't always be possible for an app to ask a user or otherwise suspend processing.)
  3. If strictparsing is false, the app could use the file's path in the File Rules to obtain a color space. Or if the file either doesn't have a path, or it seems inappropriate to use it, the app could simply use the color space for the default File Rule.

Any thoughts?

How should this be handled in the built-in ACES configs?

Lingua principale
Python
Stelle
432
Fork
51
Merge medio
5g 13h
PR unite (30g)
3

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AcademySoftwareFoundation/OpenColorIO-Config-ACES

Tutte le issue di AcademySoftwareFoundation/OpenColorIO-Config-ACES

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.