Capture contents of a remote X server screen in the PNG format


  • Capture some or all of an X server screen, and save the image to a file.
    Part of the ImageMagick library.
    More information: <>.
  • Trick copyright: tl;dr; <>

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

click the source code to copy install import on any operating system with