Is it working or broken when you try with oiio 1.8, but python 2.7? How about in master?
And can you be more specific about what you mean by "not working"? Do you get errors from Python3? Is it completing the program but the image is not what you expect? Do you check the return value from ociofiletransform to see if there was an error, and print the error message (img_corrected.get_error())? > On Feb 12, 2018, at 6:54 AM, Paul Parneix <[email protected]> wrote: > > Hi, > > I'm moving from python 2.7 oiio 1.6.22 to python 3.6 oiio 1.8.6. > > I'm trying to use oiiofiletransform() to apply a 3Dlut from a .cube file : > > img = oiio.ImageBuf("image.jpg") > img_corrected = oiio.ImageBuf() > > oiio.ImageBufAlgo.ociofiletransform(img_corrected, img, 'lut.cube') > > img_corrected.write('image_correct.tiff') > > This code was working nicely on Python 2.7 / oiio 1.6.22. but not working > anymore on Python 3.6 / oiio 1.8.6 > > Maybe something has changed about ociofiletransform() method ? > > Thanks. > > Paul. > -- Larry Gritz [email protected]
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
