Hey Larry (and anyone else who may be able to help), Just moved to OIIO 2.0 and realized I've got issues with how i was using write_scanlines from python now.
Prior to 2.x I had been passing oiio.UNKNOWN to the call as I had been treating all my pixel data as raw char*'s under the hood. I was responsible for making sure it was interleaved and sized properly. This was super helpful if i had an exr that mixed full and half floats in the same part and I needed to swap a channels' data for some reason. Now I'm getting size mismatches between the buffers I've read in as raw data and when I try to rewrite them with write_scanlines as I think the python buffers are trying to infer a type/size and getting confused. Is there any way to restore this or work around it? I'm trying to knock together an example file so hopefully i'll have that shortly. Cheers, ~Andrew
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org