-
-
Notifications
You must be signed in to change notification settings - Fork 274
Description
Description
Hello,
I'm looking to insert or retrieve colour.RGB_COLORSPACES
names from file names.
For example, I would like to use the ALEXA Wide Gamut
colorspace into a file name which could be slugified to something like alexaWideGamut
. I could also run the invert where something like colour.RGB_COLORSPACES.get("alexaWideGamut")
would return me the ALEXA Wide Gamut
RGB_COLORSPACE
instance.
This means colour could be an alternative method (to OCIO) to convert imagery files colorspaces, where file name / metadata would provide the source colorspace name of the file.
I'm trying to answer the question How one would encode colorspace metadata in a library of imagery files that would be easily translated to a code object for conversions.
OCIO is one way to go but I would like to see how colour would behave in that role.
Some technicalities to have a look at:
- what characters are allowed ? Do we keep dots, dashes ? Or only something like
[a-zA-Z\d_]
- does we modify literature of colorspace names, like
sRGB
would becomesrgb
?
Cheers.
Liam.