Minor refactor: Move iv local "copy_pixel_channels" into ImageBuf::get_pixel_channels. Then re-implement IB::get_pixels in terms of it.
It's handy generally, so I moved it into the IB class. You can merge this Pull Request by running: git pull https://github.com/lgritz/oiio lg-imagebuf Or you can view, comment on it, or merge it online at: https://github.com/OpenImageIO/oiio/pull/398 -- Commit Summary -- * Move iv local "copy_pixel_channels" into ImageBuf::get_pixel_channels. -- File Changes -- M src/include/imagebuf.h (24) M src/iv/imageviewer.h (6) M src/iv/ivgl.cpp (18) M src/iv/ivimage.cpp (91) M src/libOpenImageIO/imagebuf.cpp (109) -- Patch Links -- https://github.com/OpenImageIO/oiio/pull/398.patch https://github.com/OpenImageIO/oiio/pull/398.diff --- Reply to this email directly or view it on GitHub: https://github.com/OpenImageIO/oiio/pull/398 _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
