On 1/12/07, Travis Oliphant firstname.lastname@example.org wrote:
This is true. So at what level do we propose the API. Single-item access for sure, but what about
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.