Displaying Images

You can display every day images such as GIFs, JPGs, BMPs, etc on the screen. To do this we'll install fbi which is the frame buffer image viewer (not to be confused with the FBI agency!)

sudo apt-get install fbi will install it

Grab our lovely wallpapers with

wget http://adafruit-download.s3.amazonaws.com/adapiluv320x240.jpg
wget http://adafruit-download.s3.amazonaws.com/adapiluv480x320.png

For 320x240 PiTFTs (2.2", 2.4", 2.8" or 3.2") view it with

sudo fbi -T 2 -d /dev/fb1 -noverbose -a adapiluv320x240.jpg

or for 3.5" PiTFTs:

sudo fbi -T 2 -d /dev/fb1 -noverbose -a adapiluv480x320.png

That's it!

This guide was first published on Nov 29, 2013. It was last updated on Nov 29, 2013. This page (Displaying Images) was last updated on Aug 08, 2018.