Easy PIL Question?

Fredrik Lundh fredrik at pythonware.com
Mon Oct 30 11:43:29 CET 2006


pinkfloydhomer at gmail.com wrote:

> I want to do something very simple:
> 
> I want to read a palette image (256 color PNG or BMP for instance), and
> then just to output the image data as numbers (palette indexes, I
> guess).

it's explained in the documentation, of course:

     http://effbot.org/imagingbook/image.htm#Image.getdata

</F>




More information about the Python-list mailing list