Linux screenshot command import use introduction

  
                  

In Linux, the simplest screen capture tool is import

Several commonly used import commands are introduced to everyone:

1 import mypicture.jpg

Then The range that can be selected with the mouse

2 sleep 5; import mypicture.jpg

After 5 seconds, intercept the range of mouse selection

3 import -frame mypicture.jpg

Intercepting the window clicked by the mouse

4 import -window root mypicture.jpg

Intercepting the entire screen, equivalent to the Print Screen key

5 import -frame -window 0xe00003 mypicture.jpg

Used to intercept a window with a window ID of 0xe00003.

You can use the xwininfo command to get the window ID of a specific window

ps: intercept the completed image. If you want to know its parameters, you can use the identify command to add the image file name. Yes.

Copyright © Windows knowledge All Rights Reserved