Oops, are we missing an inverse modifier on --ociodisplay? That seems easy to fix.
> On Nov 2, 2022, at 5:40 PM, Doug Walker <doug.wal...@autodesk.com> wrote: > > Hi Attila, > > It looks like you are trying to use the new ACES config to invert an OCIO > DisplayViewTransform and convert sRGB back to ACEScg. Unfortunately, > oiiotool's --ociodisplay option does not have the "inverse" modifier (like > --ociofiletransform does). That would be what you need. > > You could do this using the OCIO command-line tools. For example, you could > use ocioconvert like so: > % ocioconvert --invertview infopanel.png "sRGB - Display" "ACES 1.0 - SDR > Video" infopanel_acescg.exr "ACEScg" > > Or you could use ociowrite to make a .CTF file and then use that with > oiiotool's --ociofiletransform option: > % ociowrite --invertview "sRGB - Display" "ACES 1.0 - SDR Video" "ACEScg" > --file sRGB_to_ACEScg_invert-SDR-Video-view.ctf > % oiiotool infopanel.png --ociofiletransform > sRGB_to_ACEScg_invert-SDR-Video-view.ctf -o infopanel_acescg.exr > > When you wrote "FAILS" on some of your examples, I guess you meant that the > result was not what you were hoping for. For me, the conversion happens, in > other words, it does not error out. > > To answer your question, no, --colorconvert is not interchangeable with > --ociodisplay. The former is applying an OCIO ColorSpaceTransform, the > latter is applying an OCIO DisplayViewTransform. > > Doug > > _______________________________________________ > Oiio-dev mailing list > Oiio-dev@lists.openimageio.org <mailto:Oiio-dev@lists.openimageio.org> > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org> -- Larry Gritz l...@larrygritz.com
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org