Update website/docs/dev_colorspace.md

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
Jakub Ježek 2023-01-16 14:21:32 +01:00 committed by GitHub
parent 6803474bdc
commit 4e0d9137b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,11 @@ Adding the `imagio` settings schema is required for any host or module which is
:::
## Data model
The *colorspaceData* are stored at root of representation dictionary during publishing. Once they are integrated into representation db document they are stored as *representation_doc.data["colorspaceData"]*
Published representations that are extracted with color managed data store a **colorspaceData** entry in its data: `representation_doc["data"]["colorspaceData"]`.
It's up to the Host implementation to pre-configure the application or workfile to have the correct OCIO config applied.
It's up to the Extractors to set these values for the representation during publishing.
It's up to the Loaders to read these values and apply the correct expected color space.
### Keys
- **colorspace** - string value used in other publish plugins and loaders