Oh dear, you are correct. The version of open that takes an array of specs that 
describe the subimages appears not to have a Python binding equivalent.

I'll need to add that, stay tuned...


> On Nov 16, 2018, at 2:55 PM, Jake Richards <[email protected]> wrote:
> 
> Hello:
>   I have just started using oiio and had a question about writing a multipart 
> exr (subimages).  In the pdf docs under the Advanced Image Output section, 
> there is a bit of code for doing this:
> 
> // Open and declare all subimages
> out->open (filename, nsubimages, specs);
> 
> I'm using oiio 1.8.3 but I don't see a matching open method:
> 
> open(...) method of OpenImageIO.ImageOutput instance
>     open( (ImageOutput)arg1, (str)arg2, (ImageSpec)arg3, 
> (ImageOutputOpenMode)arg4) -> bool :
>     open( (ImageOutput)arg1, (str)arg2, (tuple)arg3) -> bool :
> 
> From the c++ sample code, it looks like I need an open method that takes a   
> open(str,int, list) .  
> 
> Does anyone have some sample code for creating an exr with subimages or know 
> what I might be doing wrong?  Thank you!
> 

--
Larry Gritz
[email protected]




_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to