Python ImageBuf.get_pixels, set_pixels bugs with some ROI constructors (1802)
Python ImageBuf.get_pixels, set_pixels bugs with some ROI constructors (1802)

Python bindings for ImageBuf.get_pixels() and set_pixels(), when passed
an ROI without a channel range specified -- which should assume you mean
to include all the channels of the image -- calculated that number wrong,
making it one channel too many.

If you pass an ROI that is fully constructed (with all of x, y, z, chan
ranges explicitly specified), it worked fine, which I guess is why nobody
noticed this problem before.

lgritz/oiio,lgritz/oiio,OpenImageIO/oiio,OpenImageIO/oiio,lgritz/oiio,OpenImageIO/oiio,lgritz/oiio,OpenImageIO/oiio