Christopher Barker wrote: > This is crying out to be a use for the new "array interface" proposed > (and used) by numpy: > > http://numeric.scipy.org/array_interface.html > > Essentially, the idea is similar to a buffer, but with more information > carried along with it. Rather than an arbitrary array of bytes, the > interface provides a pointer to the data, and also information about the > size, layout and type of the data.
unfortunately, the "array interface" model isn't even close to be able to describe a PIL image memory (the "Imaging" structure)... is the __array_struct__ CObject thing new, btw? </F> _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
