caiyuchao / gsnap

gsnap is a tool which can capture screen (screenshot) base on framebuffer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gsnap is a tool which can capture screen (screenshot) base on framebuffer.

Compile for Linux:

$(CC) gsnap.c -ljpeg -lpng -o gsnap

So, you should install libjpeg.so and libpng.so firstly.

Usage:

gsnap <jpeg|png file> <framebuffer dev>

Example:

gsnap test.png /dev/fb0

About

gsnap is a tool which can capture screen (screenshot) base on framebuffer.


Languages

Language:C 94.0%Language:Makefile 4.6%Language:Shell 1.3%