new images from strings using PIL

Erik Max Francis max at alcyone.com
Fri Mar 1 17:36:44 EST 2002


BL wrote:

> These values are obviously wrong.  Why isn't my 3x2 image being
> created with
> the proper pixel intensities?

Image.fromstring reads in _raw_, binary image data, not text data.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Laws are silent in time of war.
\__/ Cicero
    Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
 An Esperanto reference for English speakers.



More information about the Python-list mailing list