[Image-SIG] less disk IO

Carl Karsten carl at personnelware.com
Thu Jan 3 15:37:24 CET 2008


Fredrik Lundh wrote:
> Carl Karsten wrote:
> 
>> I saw some mention of that in the IM docs.  any idea why .tostring doesn't work?
> 
> the tostring method returns pixel data as a packed array, not data in an 
> image interchange file format.
> 
> (tostring/fromstring is a common data interchange protocol for array-
> style objects in Python; see e.g. the array module and numerical python).
> 

Ah!

Thank you.  now I don't feel so bad using StringIO.  I thought I just couldn't 
figure it out.

Carl K


More information about the Image-SIG mailing list