Datasheet

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 adapiluv 480x320.jpg
© Adafruit Industries
https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-
pi
Page 51 of 70