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.jpg

That's it!

Last updated on 2016-10-12 at 06.12.58 PM Published on 2013-11-29 at 02.19.02 PM