1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 16:46:00 +02:00

import: minor tweaks (#1322)

This commit is contained in:
Waldir Pimenta 2017-04-15 10:02:09 +01:00 committed by GitHub
parent f12a12b792
commit 16969bf3dc

View file

@ -1,16 +1,16 @@
# import
> Capture some or all of an X server screen and save the image to a file.
> Part of ImageMagick library.
> 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:
- 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:
- Capture contents of a 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:
- Capture a specific window, given its ID as displayed by `xwininfo`, into the JPEG format:
`import -window {{window_id}} {{output.jpg}}`