LinuxCommandLibrary

import

TLDR

Capture entire screen

$ import screenshot.png
copy
Capture window by click
$ import -window root screenshot.png
copy
Capture specific window
$ import -window [window_id] screenshot.png
copy
Capture with delay
$ import -pause [5] screenshot.png
copy
Capture region
$ import -crop [640x480+100+100] screenshot.png
copy
Set image format
$ import screenshot.[jpg|png|gif]
copy

SYNOPSIS

import [options] outputfile_

DESCRIPTION

import is an ImageMagick utility for capturing X Window screenshots. It can capture the entire screen, specific windows, or user-selected regions.
The tool supports various output formats determined by file extension. It integrates with the ImageMagick processing pipeline for immediate manipulation.
import captures X Window screenshots.

PARAMETERS

-window ID

Capture specific window ID or "root" for full screen.
-pause SECONDS
Delay before capture.
-crop GEOMETRY
Crop to specified geometry.
-frame
Include window frame.
-border
Include window border.
-screen
Capture from virtual root window.
-silent
Suppress progress monitor.
--help
Display help information.

CAVEATS

X11 only. Requires ImageMagick. Click-to-select default behavior.

HISTORY

import is part of the ImageMagick suite, created by John Cristy in 1987 for X Window screen capture.

SEE ALSO

convert(1), display(1), scrot(1), xwd(1)

Copied to clipboard