Converting the UINT8 ImageBuf Instance to FLOAT, prior to apply pow()
solved the problem.

srcBuf.read( 0, 0, True, OpenImageIO.FLOAT )

Thanks
Dave.

Dave Lajoie
R&D Director |  Directeur R&D
 [image: Digital-District] <http://www.digital-district.fr> 5605 Avenue de
Gaspé, Suite 408  |  Montréal, QC H2T 2A4
Tel  (514) 360-3253  ext. 130

On Wed, Oct 1, 2014 at 3:01 PM, Dave Lajoie <[email protected]
> wrote:

> Thanks Larry, much appreciated!
>
> I will keep you posted.
>
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to