Copy link to clipboard
Copied
Hello Painter Devs,
Is there a way to have Python be able to specify color mangement settings when creating a new project or respect new project settings that are already set in ui?
I'm writing code to create a new project using Python, our pipeline needs to have Artists enable OpenColorIO with an Aces sRGB viewport (so that color match between Painter and Unreal). I was able to set the default new project settings by modifying the registry, however when I create a new project using python it doesn't respect those settings.
Copy link to clipboard
Copied
I was mistaken, I didn't have the OCIO environment variable set correctly (wasn't pointing to the right ocio config file) Once I fixed this new projects created through the python API were set with the approprite color config settings!
Copy link to clipboard
Copied
Having another issue...
The "Bitmap import color space defaults" all get set to Linear when using the OCIO environment variable, instead of what seems to be specified inside the ocio.config file
Is there anyway to modify the bitmap import defaults?
See below (ocio.config vs Painter project settings)