Have you wanted to play animated Gifs on the Raspberry Pi without showing or taking over the entire desktop? Or maybe you are only wanting to SSH into the Pi and play some kind of animation without the fancy graphical environment. Or possibly, you just want to know how to play animated Gifs with Python and the Pillow library. If so, this is the guide for you.

This is an animated Gif player that runs on the Raspberry Pi and uses a PiTFT Display. It works kind of like a Slideshow player, but displays animated Gifs instead. Because this is written in pure Python, it won't quite be as speedy as a C-based player, but the smaller the resolution of display that you use, the better the performance.

Parts

To get started, you will need a Raspberry Pi. A Raspberry Pi 4 is recommended because it's pretty fast.

Raspberry Pi 4 Model B

PRODUCT ID: 4297
The Raspberry Pi 4 Model B is the newest Raspberry Pi computer made, and the Pi Foundation knows you can always make a good thing better! And what could make the Pi 4 better...
OUT OF STOCK

You will also need a PiTFT to display the images. We recommend these smaller Mini PiTFT's since we can write to the display fairly fast.

Adafruit Mini PiTFT 1.3" - 240x240 TFT Add-on for Raspberry Pi

PRODUCT ID: 4484
If you're looking for the most compact li'l color display for a Raspberry Pi (most likely a
$14.95
IN STOCK

Adafruit Mini PiTFT - 135x240 Color TFT Add-on for Raspberry Pi

PRODUCT ID: 4393
If you're looking for the most compact li'l color display for a Raspberry Pi (most likely a
$14.95
IN STOCK

You could use larger 320x240 ones too for slower images.

Adafruit PiTFT Plus 320x240 2.8" TFT + Capacitive Touchscreen

PRODUCT ID: 2423
Is this not the cutest little display for the Raspberry Pi? It features a 2.8" display with 320x240 16-bit color pixels and a capacitive touch overlay. That's right,...
$44.95
IN STOCK

PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchscreen

PRODUCT ID: 2298
Is this not the cutest little display for the Raspberry Pi? It features a 2.8" display with 320x240 16-bit color pixels and a resistive touch overlay. The plate uses the high...
$34.95
IN STOCK

Adafruit PiTFT 2.2" HAT Mini Kit - 320x240 2.2" TFT - No Touch

PRODUCT ID: 2315
The cute PiTFT got even more adorable with this little primary display for Raspberry Pi in HAT form! It features a 2.2" display with 320x240 16-bit color pixels. The HAT uses the...
$24.95
IN STOCK

You can also get the PiTFT in 3.2" or 2.4", but they don't come with buttons, so you'll want to pick up some of those so you can scroll.

PiTFT Plus 320x240 3.2" TFT + Resistive Touchscreen

PRODUCT ID: 2616
Is this not the cutest little display for the Raspberry Pi? It features a 3.2" display with 320x240 16-bit color pixels and a resistive touch overlay. The plate uses the high...
$39.95
IN STOCK

Adafruit PiTFT 2.4" HAT Mini Kit - 320x240 TFT Touchscreen

PRODUCT ID: 2455
Is this not the cutest little display for the Raspberry Pi? It features a 2.4" display with 320x240 16-bit color pixels and a resistive touch overlay. The HAT uses the high speed...
$34.95
IN STOCK

Tactile Switch Buttons (6mm slim) x 20 pack

PRODUCT ID: 1489
Slim clicky momentary switches are standard input "buttons" on electronic projects. These are half the width of classic 6mm tactile switches so they line up better on a...
OUT OF STOCK

Of course you'll need a power supply for your Pi.

Official Raspberry Pi Power Supply 5.1V 3A with USB C

PRODUCT ID: 4298
The official Raspberry Pi USB-C power supply is here! And of course, we have 'em in classic Adafruit black! Super fast with just the right amount of cable length to get your Pi 4...
$7.95
IN STOCK

You may want a case for your Pi.

Official Raspberry Pi Foundation Raspberry Pi 4 Case - Red White

PRODUCT ID: 4301
Keep your Raspberry Pi® 4 Model B computer safe and snug in this solid ABS acrylic enclosure.This case keeps your Pi secure, has labeled holes for connector...
OUT OF STOCK

If you have a case, these little header extensions are really useful.

Stacking Header for Pi A+/B+/Pi 2/Pi 3 - 2x20 Extra Tall Header

PRODUCT ID: 1979
Stack multiple plates, breakouts etc onto your Raspberry Pi Model B+ with this custom-made extra-tall and extra-long 2x20 female header. The female header part has extra spaces to...
$2.95
IN STOCK
This guide was first published on Jan 08, 2020. It was last updated on Jan 08, 2020. This page (Overview) was last updated on Jan 21, 2020.