You had the syntax correct, except for the create. I believe this should work:
oiiotool a.exr b.exr --siappend -o out.exr
Does this not work? And if not, um, how are you sure it doesn't work? How are
you checking the result? (Seems to work for me)
> On Jun 15, 2016, at 12:30 PM, Zachary Bauer <[email protected]> wrote:
>
> Hi Larry,
> Thanks for the reply. Sorry for the delay, was signing up for this list.
> Responses below:
>
>> It looks like that particular error message is inside the branch of an
>> #ifdef that only gets built for OpenEXR 1.x.
>>
>> Looking at the source code I see what you mean, will re-compile with the
>> appropriate flag set.
>>
>> Is it possible that your OIIO build is linked against an OpenEXR < 2.0?
>>
>> Looks like we are using EXR 2.0.1, but we didn't define
>> USE_OPENEXR_VERSION2=1 in our SConstruct. I tried this and the above error
>> message goes away, but I still can't seem to combine multiple EXRs into a
>> single multi-subimage EXR.
>>
>> As an aside, what is the purpose of the --create?
> I was trying to interpret how to use the command line interface and thought
> maybe I needed to create an image before appending subimages.
>
> The bottom line is, I am trying to find a command (either oiiotool or
> OpenEXR) that will easily let me combine multiple EXRs into a single
> multi-subimage EXR. I have searched online and couldn't find a good example
> of how to do this. Any help would be appreciated.
>
> Thanks!
> -Zach
>
> Software Engineer, Tools
>
> On Wednesday, June 15, 2016 11:43 AM, Zachary Bauer <[email protected]>
> wrote:
>
>
>
>
> Zachary Bauer
> Software Engineer (Tools)
> Blizzard Animation
>
>
> -------- Forwarded Message --------
> Subject: Fwd: [Oiio-dev] oiiotool combine multiple exr images into a
> multipart exr 2.0 image
> Date: Mon, 13 Jun 2016 10:26:40 -0700
> From: John Burnett <[email protected]> <mailto:[email protected]>
> To: Zachary Bauer <[email protected]> <mailto:[email protected]>
>
>
>
> (sent from mobile. sry for grmmar)
>
> Begin forwarded message:
>
>> From: Larry Gritz <[email protected] <mailto:[email protected]>>
>> Date: June 10, 2016 at 10:10:04 PM PDT
>> To: OpenImageIO developers <[email protected]
>> <mailto:[email protected]>>
>> Subject: Re: [Oiio-dev] oiiotool combine multiple exr images into a
>> multipart exr 2.0 image
>> Reply-To: OpenImageIO developers <[email protected]
>> <mailto:[email protected]>>
>>
>> It looks like that particular error message is inside the branch of an
>> #ifdef that only gets built for OpenEXR 1.x.
>>
>> Is it possible that your OIIO build is linked against an OpenEXR < 2.0?
>>
>> As an aside, what is the purpose of the --create?
>>
>>
>>> On Jun 10, 2016, at 6:01 PM, Zachary Bauer <[email protected]
>>> <mailto:[email protected]>> wrote:
>>>
>>> Hello,
>>> I am trying to use oiiotool (version 1.4.8) to combine multiple exr images
>>> (a.exr and b.exr) into a multipart exr 2.0 image, but can't quite get it to
>>> work.
>>>
>>> I am trying this (files are 214x181 resolution, 4 channels):
>>>
>>> oiiotool --create 214x181 4 a.exr b.exr --siappend -o out.exr
>>>
>>> And I get:
>>> oiiotool WARNING: openexr does not support multiple subimages for out.exr
>>>
>>> What am I doing wrong?
>>> Thanks,
>>> -Zach
>>>
>>> --
>>> Zachary Bauer
>>> Software Engineer (Tools)
>>> Blizzard Animation
>>>
>>>
>>
>> --
>> Larry Gritz
>> [email protected] <mailto:[email protected]>
>>
>>
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected] <mailto:[email protected]>
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org>
>
>
>
>
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
--
Larry Gritz
[email protected]
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org