Here is a small python script to save screen capture to png file. It supports few parameters:
Code: Select all
Usage:
gd-77_screen_grabber.py [OPTION]
-h, --help : Display this help text
-d, --device=<COM port> : Use the specified device as serial port
-s, --scale=v : Apply scale factor (1..x)
-o, --output=<filename> : Save the image in <filename>.png
-f, --foreground=#RRGGBB : Use specified color as foreground pixel color
-b, --background=#RRGGBB : Use specified color as background color
Cheers.
---
Daniel
.