[Image-SIG] Patch to add array interface support to PIL
Travis E. Oliphant
oliphant.travis at ieee.org
Thu Jul 13 00:41:42 CEST 2006
The attached patch is against SVN version of PIL (Image.py in
particular) that makes the Image object support the array interface
fromarray(obj) returns an image from an object
exporting the array interface
__array_interface__ : property returning the array_interface
dictionary so that a PIL image can
be understood as an array.
It would be great if this patch got into PIL 1.1.6
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Image-SIG