Skip to content

Utility to take a snapshot of the Raspberry Pi screen and save it as a PNG file

License

Notifications You must be signed in to change notification settings

AndrewFromMelbourne/raspi2png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository will no longer be updated. The DispmanX API is no longer supported in recent version of the Raspberry Pi OS.

raspi2png

Utility to take a snapshot of the raspberry pi screen and save it as a PNG file

Usage: raspi2png [--pngname name] [--width <width>] [--height <height>] [--compression <level>] [--delay <delay>] [--display <number>] [--stdout] [--help]

--pngname,-p - name of png file to create (default is snapshot.png)
--height,-h - image height (default is screen height)
--width,-w - image width (default is screen width)
--compression,-c - PNG compression level (0 - 9)
--delay,-d - delay in seconds (default 0)
--display,-D - Raspberry Pi display number (default 0)
--stdout,-s - write file to stdout
--help,-H - print this usage information

Simple Install

Run this command through terminal or CLI screen.

curl -sL https://raw.githubusercontent.com/AndrewFromMelbourne/raspi2png/master/installer.sh | bash -

Manual Building

You will need to install libpng before you build the program. On Raspbian

sudo apt install libpng-dev

Then just type 'make' in the raspi2png directory you cloned from github.

About

Utility to take a snapshot of the Raspberry Pi screen and save it as a PNG file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published