Ok. Perfect then.

2012/11/14 Larry Gritz <[email protected]>

> On Nov 14, 2012, at 11:47 AM, Lerenard Michel wrote:
>
> > I agree with the idea, but it won't be compatible with single channel
> read for the first channel: the call will have parameters : beginchan = 0 /
> endchan = 1 and it will read two channels instead of one.
> > But i like the idea of reading at least one channel. It means that if
> you set endchan to zero you're sure to read one channel.
>
> No, like in C++ STL, the range notation is [begin,end).  That is, it
> includes the begin value, but not the end.  So chbegin=0, chend=1 means to
> read one channel, just like xbegin=0, xend=1 means to read exactly one
> pixel (wide).
>
> --
> Larry Gritz
> [email protected]
>
>
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to