import

Capture some or all of an X server screen, and save the image to a file. Part of the ImageMagick library.

Install

All systems
curl cmd.cat/import.sh
Debian Debian
apt-get install graphicsmagick-imagemagick-compat
Ubuntu
apt-get install openerp6.1-core
Arch Arch Linux
pacman -S plan9port
image/svg+xml Kali Linux
apt-get install graphicsmagick-imagemagick-compat
Fedora
dnf install openerp7
OS X
brew install plan9port
Raspbian
apt-get install graphicsmagick-imagemagick-compat

Capture some or all of an X server screen, and save the image to a file. Part of the ImageMagick library.

  • Capture the entire X server screen in the PostScript image format:
    import -window root output.postscript
  • Capture contents of a remote X server screen in the PNG image format:
    import -window root -display remote_host:{screen}.{display} output.png
  • Capture a specific window, given its ID as displayed by `xwininfo`, into the JPEG format:
    import -window window_id output.jpg

© tl;dr; authors and contributors