[Numpy-discussion] Quicker image transfer, tobuffer?

Eric Firing efiring at hawaii.edu
Tue Jul 11 17:55:54 CDT 2006

Eric Firing wrote:
> Andrew Straw wrote:
>>Actually, this has been in MPL for a while. For example, see the
>>image_demo3.py example. You don't need the __array_interface__ for this
>>bit of functionality.
> It's broken.
> The first problem is that the kw "aspect = 'preserve'" is no longer 
> needed or supported.  Removing that (as I will do in svn shortly), I get 
> a somewhat scrambled image.

Correction: I did fix the first problem, and the second problem is not 
at all what I thought.  Instead, the examples/data/lena.jpg file in my 
svn mpl directory is corrupted.  I have no idea why.  Looking directly 
at the version on svn via the svn browser, I see that it is corrupted also.


More information about the Numpy-discussion mailing list