Raspberry Pi – Display image on screen

Using FEH

raspberry pi logo

feh is an X11 image viewer aimed mostly at console users. Unlike most other viewers, it does not have a fancy GUI, but simply displays images. It is controlled via commandline arguments and configurable key/mouse actions.


Install

sudo apt-get install -y feh


Examples

Bash

Note: you need to run this on the Pi itself (not though SSH)!

feh --hide-pointer -x -q -B black -g 1280x800 /home/pi/image.jpg

Python

using split:


Download

feh-3.4.1.tar.bz2

Using Pygame

This is a example to display an image with pygame

In this example we added some text:

In this example we added a counter:

Now place the image on center screen: