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.

Angled shot of Raspberry Pi 4
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.

Video of Adafruit Mini PiTFT 1.3" - 240x240 TFT Add-on on a Raspberry Pi 4. The TFT displays a bootup sequence.
If you're looking for the most compact li'l color display for a Raspberry Pi (most likely a
$14.95
In Stock
Video of Adafruit Mini PiTFT - 135x240 Color TFT Add-on assembled onto a Raspberry Pi 3. The TFT displays a bootup.
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.

Red polished nail touching the screen of a Adafruit PiTFT Plus 320x240 2.8" TFT + Capacitive Touchscreen.
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
Red polished white finger touching the PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchscreen.
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...
Out of Stock
Top down view of a Adafruit PiTFT 2.2" HAT Mini Kit with desktop image on the display.
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...
Out of 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.

Pink polished finger touching the screen of a PiTFT Plus 320x240 3.2" TFT + Resistive Touchscreen.
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...
Out of Stock
Black polished white finger touching Adafruit PiTFT 2.4" HAT display in a Adafruit PiTFT 2.4" HAT Mini Kit.
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...
Out of Stock
angled shot of single white 6mm tactile switch button.
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...
$4.95
In Stock

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

Angled shot of Official Raspberry Pi Power Supply 5.1V 3A with USB C with Power plug facing down.
The official Raspberry Pi USB-C power supply is here! And of course, we have 'em in classic Adafruit black! Superfast 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.

Partially assembled Red and whit Raspberry Pi Foundation Raspberry Pi 4 Case.
Keep your Raspberry Pi® 4 Model B computer safe and snug in this solid ABS acrylic enclosure. You can even pick up an official...
$6.00
In 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
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 Aug 08, 2022.

Text editor powered by tinymce.