[Image-SIG] Quicker image transfer, tobuffer?
fredrik at pythonware.com
Tue Jul 11 08:56:14 CEST 2006
Christopher Barker wrote:
> This is crying out to be a use for the new "array interface" proposed
> (and used) by numpy:
> 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?
More information about the Image-SIG