Hi,

Is it possible to only operate on one subimage and still keep the rest
untouched?

In my case I get EXRs from comp that have mattes as separate subimages in
the EXR. I want to perform a colorconvert on the main subimage of the EXRs,
but if I do so I lose the rest of the subimages:

oiiotool /path/to/frame.exr --colorconvert linear AlexaV3LogC -o
/path/to/out.exr

By reading around on the mail list here, I then got inspired into trying
this:

oiiotool /path/to/frame.exr --subimage main --colorconvert linear
AlexaV3LogC /path/to/frame.exr --subimage matte1 --siappendall -o
/path/to/out.exr

This will indeed create an EXR with the same number of subimages as before,
but the "matte1" remains completely empty. Subimage "main" has in this case
the channels "R, G, B, A" and "matte1" have the channels "red, green, blue,
alpha".

What did I do wrong? Is this possible?

I have tried this in both 1.8.17 and 2.0.12.

Thanks in advance,
Andreas
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to