[Numpy-discussion] Is numpy supposed to support the buffer protocol?

Christopher Barker Chris.Barker at noaa.gov
Tue Aug 29 12:12:04 CDT 2006

Robin Dunn wrote:
> BTW Chris, try using buffer(RGB) and buffer(Alpha) in your sample, I 
> expect that will work with the current code.

yup. that does work. I was concerned that it would make a copy, but it 
looks like it makes a new buffer object, but using the same data buffer, 
so that should be fine.

Thanks for all this,


Christopher Barker, Ph.D.
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov

More information about the Numpy-discussion mailing list