1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/import.md
2017-02-19 14:36:26 +05:30

513 B

import

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

  • Capture the entire X server screen in the Postscript image format:

import -window root {{output.postscript}}

  • Capture contents of remote x server screen in the png image format:

import -window root -display {{remote_host}}:{screen}.{display} {{output.png}}

  • Capture specific window with ID as displayed by xwininfo into jpg format:

import -window {{window_id}} {{output.jpg}}