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>] [--delay <delay>] [--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)
--delay,-d - delay in seconds (default 0)
--help,-H - print this usage information
You will need to install libpng before you build the program. On Raspbian
sudo apt-get install libpng12-dev
Then just type 'make' in the raspi2png directory you cloned from github.