[Pythonmac-SIG] [OT] Quicktime/Buffer API

Chris Barker Chris.Barker at noaa.gov
Wed Oct 26 19:56:55 CEST 2005


michael ferraro wrote:
> The data is a simple unsigned char *

Thats just what NumPy's ArrayFromDimsAndData() (or something like that) 
expects. However, one issue is that if you don't copy the data, then 
it's hard to have Python manage the garbage collection, you need to 
figure out how (and when!) to free it yourself.

-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
                                     		
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 Pythonmac-SIG mailing list