Screen Capture


Table of Contents

cmd:import 
Usage 
Description 
Quick Help 
How to make a screenshot with the mouse pointer in it? 
How to make a screenshot with the mouse pointer in it? 

cmd:import 

Usage 

# To select an area of the screen with the mouse
import figure.eps
# an X window with frame
import -frame app-snap.jpg
# To capture the entire X server screen
import -window root root.jpeg

Description 

Import reads an image from any visible window on an X server and out- puts it as an image file. You can capture a single window, the entire screen, or any rectangular portion of the screen. Use display for redisplay, printing, editing, formatting, archiving, image processing, etc. of the captured image.

The target window can be specified by id, name, or may be selected by clicking the mouse in the desired window. If you press a button and then drag, a rectangle will form which expands and contracts as the mouse moves. To save the portion of the screen defined by the rectan- gle, just release the button. The keyboard bell is rung once at the beginning of the screen capture and twice when it completes.

Quick Help 

Usage: import [options ...] [ file ]

Where options include:

-border              include image borders in the output image
-frame               include window manager frame
-crop geometry       preferred size and location of the cropped image
-geometry geometry   perferred size or location of the image
-page geometry       size and location of an image canvas
-comment string      annotate image with comment
-label name          assign a label to an image
-limit type value    Area, Disk, Map, or Memory resource limit
-window id           select window with this id or name
-interlace type      None, Line, Plane, or Partition
-monochrome          transform image to black and white
-negate              replace every pixel with its complementary color
-pointsize value     font point size
-quality value       JPEG/MIFF/PNG compression level
-resize geometry     resize the image
-rotate degrees      apply Paeth rotation to the image
-snaps value         number of screen snapshots
-pause value         seconds delay between snapshots

documented on: 2005.02.27