Skip to main content

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

Release files for photoframebuffer 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for photoframebuffer 0.1.2
File Size Uploaded
photoframebuffer-0.1.2.tar.gz 14.9 kB Details

Release files / photoframebuffer-0.1.2.tar.gz

Download URL photoframebuffer-0.1.2.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
61af3f5823f6eef6775a532aa3d08697df012c9ee0602596e918daf03d889e7d
BLAKE2b-256 checksum
How to use checksums
caaac1f723c15bbeccff9ddfc66e838bb65e405c5a18f4b1c4b8b6ca41ddf855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page