If you want use a different font to display your text, then you can find the fonts available on your Raspberry Pi using the command:
$ fc-list
To use the font, edit message.py changing the path to the font.
As well as text, the Python Imaging Library also allows you to draw shapes etc on the image. Take a look at the documentation for PIL here for ideas on how to do this.
As well as text, the Python Imaging Library also allows you to draw shapes etc on the image. Take a look at the documentation for PIL here for ideas on how to do this.
About the Author
As well as contributing lots of tutorials about Raspberry Pi, Arduino and now BeagleBone Black, Simon Monk writes books about open source hardware including 'The Raspberry Pi Cookbook' and 'Programming Rasppberry Pi'. You will find his books for sale here at Adafruit.
As well as contributing lots of tutorials about Raspberry Pi, Arduino and now BeagleBone Black, Simon Monk writes books about open source hardware including 'The Raspberry Pi Cookbook' and 'Programming Rasppberry Pi'. You will find his books for sale here at Adafruit.
Text editor powered by tinymce.