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

2012-05-17 Thread EdmundBuffey
I have some more info from a company that makes under-cabinet http://www.ledstrips8.com/outdoor-led-lighting-c-11.html led outdoor lighting . From looking at some of these posts and seeing some of the pricing, I know they are better http://www.ledstrips8.com/flexible-led-strip-lighting-c-32.html

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

2012-03-05 Thread Petr Jakes
> >>> 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 -- http://mail.python.org/

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

2012-03-04 Thread Max Erickson
Petr Jakes wrote: > >> What file format is the graphic in? How big is it? >> >> What file format do you want it to be? >> > > Now, I am able to create the png file with the resolution 432x64 > using PIL (using draw.text method for example). > > I would like to get the 432x64 True/False (Black/

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

2012-03-04 Thread Petr Jakes
> What file format is the graphic in? How big is it? > > What file format do you want it to be? > Now, I am able to create the png file with the resolution 432x64 using PIL (using draw.text method for example). I would like to get the 432x64 True/False (Black/White) lookup table from this file,

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

2012-03-04 Thread Steven D'Aprano
On Sun, 04 Mar 2012 02:28:16 -0800, Petr Jakes wrote: > I would like to convert simple B/W graphic to the 432x64 pixel matrix. > It is intended to display this graphic on the one color LED matrix > sign/display (432 LEDs width, 64 LEDs height). I am experimenting with > the PIL, but I did not find