first install a "third party program" snapscreenshot .
Hence to install snapscreenshot,you have to manually download the latest program tar ball source and compile:
noah:~# cd /usr/local/src
noah:/usr/local/src# wget -q http://bisqwit.iki.fi/src/arch/snapscreenshot 1.0.14.3.tar.bz2
noah:/usr/local/src# tar -jxvvvf snapscreenshot-1.0.14.3.tar.bz2
…
noah:/usr/local/src# cd snapscreenshot-1.0.14.3
noah:/usr/local/src/snapscreenshot-1.0.14# ./configure && make && make install
Configuring…
Fine. Done. make.
make: Nothing to be done for `all'.
if [ ! "/usr/local/bin" = "" ];
then mkdir –parents /usr/local/bin 2>/dev/null;
mkdir /usr/local/bin 2>/dev/null;
for s in snapscreenshot "";
do if [ ! "$s" = "" ];
then
install -c -s -o bin -g bin -m 755 "$s" /usr/local/bin/"$s";
fi;
done;
fi;
if [ ! "/usr/local/man" = "" ];
then mkdir –parents /usr/local/man 2>/dev/null;
mkdir /usr/local/man 2>/dev/null;
for s in snapscreenshot.1 "";
do if [ ! "$s" = "" ];
then
install -m 644 "$s" /usr/local/man/man"`echo "$s"|sed 's/.*.//'`"/"$s";
fi;
done;
fi
By default snapscreenshot command is made to take screenshot in a tga image format, this format is readable by most picture viewing programs available today, however it is not too common and not so standartized for the web as the JPEG and PNG.
For more info check this
Also
you can use FBGrab.
FBgrab is a framebuffer screenshot program, capturing the linux frambuffer and converting it to a png-picture. FBGrab is delivered as is without any warranty and license is GPL version 2.
BUT, The last version was in 2004.
For more info about fbgrab check this