On 1/12/07, Travis Oliphant <[EMAIL PROTECTED]> wrote: > This is true. So at what level do we propose the API. Single-item > access for sure, but what about > > array_interface->get_block_from_slice() ? > > Such a thing would be very useful for all kinds of large data-sets, from > images, and videos, to scientific data-sets.
That's definitely desirable. If the implementation can't handle that it can always throw. > > If we want the whole in-memory-RGB-copy we could just take the > > RGB-view, pass it to numpy and force numpy to do a copy. The module > > can then, in either case, operate on the image through numpy or return > > a numpy object to the user. (numpy is of course integrated in python > > by then) > > > Getting this array_interface into Python goes a long way into making > that happen, I think. Agree. We just have to be careful where to put the different pieces. _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion