Is it working or broken when you try with oiio 1.8, but python 2.7? How about
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 <p...@scanbox.xyz> wrote:
> 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')
> 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 ?
Oiio-dev mailing list