mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:33:50 +02:00
import: add page (#1255)
This commit is contained in:
parent
efdd751de0
commit
008080dc78
1 changed files with 16 additions and 0 deletions
16
pages/common/import.md
Normal file
16
pages/common/import.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue