Page 1 of 1

Tutorial - Grab A Screenshot Using Telnet

Posted: 22 Sep 2013, 12:32 pm
by zubair8xm
Tutorial - Grab A Screenshot Using Telnet

To take a screenshot using telnet we use the grab command, here are the options
Usage: grab [commands] [filename]

command:

-o only grab osd (framebuffer) when using this with png or bmp

fileformat you will get a 32bit pic with alphachannel

-v only grab video

-d always use osd resolution (good for skinshots)

-n dont correct 16:9 aspect ratio

-r (size) resize to a fixed width, maximum: 1920

-l always 4:3, create letterbox if 16:9

-b use bicubic picture resize (slow but smooth)


-j (quality) produce jpg files instead of bmp (quality 0-100)

-p produce png files instead of bmp

-h this is the help screen

If no command is given the complete picture will be grabbed.
If no filename is given /tmp/screenshot.[bmp/jpg/png] will be used.


Here is an example using DCC

grab jpg with skin osd resolution (good for skinshots)
command:

Code: Select all

grab -d -j 100 /tmp/shot1.jpg
Image

FTP to /tmp to retrieve your file

Image



Enjoy!