Skip to content

Instantly share code, notes, and snippets.

@hitesh83
Created May 31, 2017 08:39
Show Gist options
  • Save hitesh83/b6dbf35cac3a44b8134877589f0c26c4 to your computer and use it in GitHub Desktop.
Save hitesh83/b6dbf35cac3a44b8134877589f0c26c4 to your computer and use it in GitHub Desktop.
RPI screen Capture
git clone https://github.com/AndrewFromMelbourne/raspi2png/
sudo cp -a raspi2png/raspi2png /usr/local/bin
raspi2png -p /home/pi/screenshot.png
Usage: raspi2png [-p pngname] [-v] [-w ] [-h ] [-t ] [-d ]
-p - name of png file to create (default is snapshot.png)
-v - verbose
-h - image height (default is screen height)
-w - image width (default is screen width)
-t - type of image captured
can be one of the following: RGB565 RGB888 RGBA16 RGBA32
-d - delay in seconds (default 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment