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 (https://adafru.it/cXU)
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 (https://adafru.it/cXU).png
That's it!
© Adafruit Industries https://learn.adafruit.com/adafruit-2-4-pitft-hat-with-resistive-touchscreen-mini-kit Page 41 of 63