The images must be in a format called ppm (portable pixel format). Many image editors support this format, including the free open source application Gimp.

The image needs to be 16 pixels high, but can be wider than the 32 pixels of the display, as the text will scroll horizontally.

This image was created in GIMP. Notice that the background needs to be black.
Use the File->Export command on GIMP to export the image as ppm and then transfer the file into the directory /home/pi/display16x32/rpi-rgb-led-matrix on your Raspberry Pi. You can just use a flash drive to copy the file over.
Run the command again, this time using the name that you gave the file:
$ sudo ./led-matrix 1 my_image.ppm
The image should then appear on the display.

This guide was first published on Mar 13, 2014. It was last updated on Mar 08, 2024.

This page (A Scrolling Message) was last updated on Mar 13, 2014.

Text editor powered by tinymce.