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

Reply via email to