[Image-SIG] Quicker image transfer, tobuffer?

Fredrik Lundh 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:
> 
> 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>



More information about the Image-SIG mailing list