AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO-Config-ACES

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
question
Lingua principale
Python
Stelle
430
Fork
49
Merge medio
18h 5m
PR unite (30g)
1

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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.

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.