import: add page (#1255)

coverage
Jeef 2017-02-19 04:06:26 -05:00 committed by Agniva De Sarker
parent efdd751de0
commit 008080dc78
1 changed files with 16 additions and 0 deletions

16
pages/common/import.md Normal file
View File

@ -0,0 +1,16 @@
# 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}}`