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
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.