Hey, Thanks for the super fast reply! Your fix works for me, as long as it doesn't introduce other problems for your code :)
On Wed, 6 May 2020 at 06:19, Larry Gritz <l...@larrygritz.com> wrote: > How does this look as a potential way to address this case? > > https://github.com/OpenImageIO/oiio/pull/2575 > > > On May 5, 2020, at 5:25 PM, Larry Gritz <l...@larrygritz.com> wrote: > > Oof, that is currently an awkward thing to do. > > I think I know a way to do it, with some changes. Stay tuned, I'll try > something tonight. > > -- lg > > > On May 5, 2020, at 6:37 AM, Andreas Ekoutsidis < > andreas.ekoutsi...@ilpvfx.com> wrote: > > 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 > > > -- > Larry Gritz > l...@larrygritz.com > > > > > _______________________________________________ > Oiio-dev mailing list > Oiio-dev@lists.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 >
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org