Apply color convert with oiiotool

Apply color convert with oiiotool

lbasurtoLGRCQ
Explorer Explorer
1,458 Views
2 Replies
Message 1 of 3

Apply color convert with oiiotool

lbasurtoLGRCQ
Explorer
Explorer

When rendering in PNG from Maya, there is a color correction applied to the output image following setup in the Color Management settings.

I'm pointing at a custom folder where my config.ocio file is and I have
Rendering Space: ACES -ACEScg

Display: ACES

View: sRGB

 

lbasurtoLGRCQ_0-1684823143436.png

 

I'm tryig to convert an EXR render into a PNG appling a color convertion usint oiiotool using this command:

"C:\Program Files\Autodesk\Arnold\maya2023\bin\oiiotool.exe" test_0001.exr --colorconfig .\aces\aces_1.2\config.ocio --colorconvert acescg sRGB -o D:\test_0001.png

and I get this error:

oiiotool ERROR: colorconvert : Could not construct the color transform acescg -> sRGB

I've tried to guess other color scheme names but I don't see how to determine the correct ones or how to know which ones are available.  Documentation is not getting me anywhere.

Does anybody know how to get the same result as Maya when rendering to PNG format?

0 Likes
1,459 Views
2 Replies
Replies (2)
Message 2 of 3

lbasurtoLGRCQ
Explorer
Explorer

I get to the correct conversion using Natron.  Pointing at the same config file and setting the File Colorspace to ACEScg and the Output Colorspace to sRGB
 

lbasurtoLGRCQ_0-1684912796258.png

but no way to get the oiiotool command to do the same! ... very frustrating!

0 Likes
Message 3 of 3

peterDTE7K
Advocate
Advocate

it's working for me on linux. in win you will need to use backslashes

oiiotool input_file.exr --colorconfig /ocio_path_aces_1.2/config.ocio --colorconvert acescg out_srgb -o output_file.jpg

0 Likes