On a similar note, is there any thoughts as to writing from planar buffers? We could interleave the data transparently for formats that don't support it, and for EXR 2.0 we would be able to write directly.
-Mark On Wed, Nov 27, 2013 at 6:36 PM, Mark Boorer <[email protected]> wrote: > Hello, > > I was just wondering if it might be an idea for ImageInput to > implement planar reading of image formats, perhaps by passing a vector > of TypeDesc and a vector of void * buffers. > At the moment, If I want to have all channels of my image separate, I > must either read the entire image into an interleaved buffer, then > manually separate the channels out, or iterate over the channels, and > call read_native_scanlines with firstchan and nchans (which will > re-read the file multiple times). > > Any thoughts? > > Cheers, > Mark >
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
