Thanks Larry, that should do the trick nicely.

--
Sylvain Berger
Head of Research and Development
[email protected]


On 2013-02-07, at 5:16 PM, Larry Gritz <[email protected]> wrote:

> Well, I'm not sure about Python (we haven't been good at keeping the Python 
> bindings up to date with the ImageBufAlgo C++ functions), but you could do 
> this pretty easily from a shell script with
> 
>       oiiotool --stats image.exr
> 
> and check that the min/max are all zeros.
> 
> 
> On Feb 7, 2013, at 2:09 PM, Sylvain Berger wrote:
> 
>> Hi, I am looking for the best way to check the content of an EXR image 
>> sequence to know if the sequence contains image information.
>> The aim is to be able to find all the sequences that are all black; i.e: 
>> they don't have any information in any channels in all the images. These 
>> type of sequence are common when rendering a lot of Frame buffer from a 
>> renderer (Arnold in our case)
>> 
>> Is there a good way to do this using the OpenImageIO module?
>> 
>> We would like to do it in python 2.6 if possible.  We were thinking of using 
>> a module like sip to get access to the oiio c++ API in python.
>> 
>> Thanks
>> 
>> --
>> Sylvain Berger
>> Head of Research and Development
>> [email protected]
>> 
>> 
> 
> --
> Larry Gritz
> [email protected]
> 
> 
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> 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

Reply via email to