How to convert simple B/W graphic to the dot matrix for the LED display/sign

Petr Jakes petr.jakes.tpc at gmail.com
Mon Mar 5 14:53:01 CET 2012


> >>> import Image
> >>> im=Image.new('L', (100,100))
> >>> im=im.convert('1')
> >>> px=im.load()
> >>> px[0,0]

Thanks, load() method works great.

One more question.

Finally, I would like to store array in the database.

What is the best way to store arrays?

Petr







More information about the Python-list mailing list