mirror of https://github.com/CrimsonTome/tldr.git
import: add page (#1255)
parent
efdd751de0
commit
008080dc78
|
@ -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…
Reference in New Issue