Skip to main content

Display photos on a Linux framebuffer device

Project description

Overview

This is a Python tool that displays photos directly to a Framebuffer device in Linux. It can be used to directly drive a photoframe without needing to install a graphical environment.

This has been used to stably drive a screen from a Raspberry Pi Zero 2 W over a long period of time (with swap enabled).

Example Usages

Drive from a folder of images:

pfb_slideshow /dev/fb0 /images >/dev/null

Displays randomized images from a text file with a list of relative file-paths and a display time of five minutes:

pfb_slideshow /dev/fb0 /frame/images.txt --root /frame --time 300 --random >/dev/null

We add the redirections to /dev/null because it's the most elegant way of suppressing erroneous text verbosity that might write into the displayed image.

Example Screenshot

Screenshot

Features

  • Prints a gutter at the bottom of the display with filename, EXIF model, and EXIF timestamp
  • Can take a list of file-paths instead of a single path. The entries can be absolute or relative.
  • Can randomize images
  • Can control the delay between images
  • Press left/right cursor to navigate through images
  • Plays in a loop

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

photoframebuffer-0.1.2.tar.gz (14.9 kB view details)

Uploaded Source

File details

Details for the file photoframebuffer-0.1.2.tar.gz.

File metadata

  • Download URL: photoframebuffer-0.1.2.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for photoframebuffer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 61af3f5823f6eef6775a532aa3d08697df012c9ee0602596e918daf03d889e7d
MD5 ce2c29d83e367269f7a61ef032843d11
BLAKE2b-256 caaac1f723c15bbeccff9ddfc66e838bb65e405c5a18f4b1c4b8b6ca41ddf855

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page