Thanks for the heads up.  Just realized you are the main developer on this
project.  Amazing job and thanks for your contribution to the VFX industry!

I'll try building from source and give it a go.

Thanks!


*Danny Yoon*


On Mon, Jun 29, 2020 at 10:15 PM Larry Gritz <l...@larrygritz.com> wrote:

> Yeah, unfortunately that's not going to work. The subimage options will be
> a 2.2 feature. You need to build a current master to get them.
>
>
>
> On Jun 29, 2020, at 9:03 PM, Danny Yoon <da...@mrwolf.com> wrote:
>
> Thanks for the reply!
>
> I am using version 2.1.16.
>
> I installed this Homebrew on mac os.  Again thanks for your help!
>
>
> *Danny Yoon*
>
>
>
> On Sun, Jun 28, 2020 at 10:27 PM Larry Gritz <l...@larrygritz.com> wrote:
>
>> Do you know what version (or commit) are you using?
>>
>> The subimages=... modifier is quite new, only expected to work in a
>> fairly recent build from master.
>>
>>
>>
>> On Jun 28, 2020, at 9:56 PM, Danny Yoon <da...@mrwolf.com> wrote:
>>
>> I have to change the channel names of a multi-part exr to be unique names
>> in order to import it into Baselight.
>>
>> The source exr's channel structure is something like this:
>> part 0 ("main") has channels R,G,B
>> part 1 ("rgbmatte1") has channels R,G,B
>> part 2 ("rgbmatte2") has channels R,G,B
>>
>> I need to make the exr look like this:
>> part 0 ("main") has channels R,G,B
>> part 1 ("rgbmatte1") has channels m1.R,m1.G,m1.B
>> part 2 ("rgbmatte2") has channels m2.R,m2.G,m2.B
>>
>> When I try to this:
>>
>> oiiotool -a source.exr --chnames:subimages=2 "m2.R,m2.G,m2.B,," -o
>> output.exr
>>
>> But this changes the channel names in ALL the parts not just part #2.
>>
>> I even tried this:
>>
>> oiiotool -a source.exr --subimage 0 -i source.exr --subimage 1
>> --chnames:subimages=1 "m1.R,m1.G,m1.B,,"-i source.exr --subimage 2
>> --chnames:subimages=2 "m2.R,m2.G,m2.B,," --siappendall -o output.exr
>>
>> This renames the channels in all the parts as well.
>>
>> Anyone have any luck with this?  Ideally I want to change only the
>> metadata of the exr and not have to re-write the image file.  I have
>> hundreds of exrs to convert and need a fast way to fix the channel names.
>> Maybe a python script instead of oiiotool?
>>
>> I'm on mac os by the way.  I really appreciate any help you can give.
>> Thanks!
>>
>>
>> *Danny Yoon*
>> _______________________________________________
>> 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
>
>
> --
> 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

Reply via email to