樹莓派上如何使用截圖-Scrot幫你忙
阿新 • • 發佈:2021-02-01
技術標籤:# 嵌入式藏經閣-玩轉樹莓派從零開始的嵌入式開發生涯樹莓派
Scrot是Linux中用於截圖的工具,其使用的方法簡單且能達到的效果諸如全屏擷取,區域擷取,延時擷取等,下面來看看這個工具該怎麼使用。
Scrot的安裝:
sudo apt-get install scrot
用法
1)全屏擷取
scrot
2)區域擷取
scrot -s
3)更多使用方法
scrot -h
FYI,更多引數介紹:
引數 | 介紹 | 描述 |
---|---|---|
-h | –help | display this help and exit |
-v | –version | output version information and exit |
-a | –autoselect | non-interactively choose a rectangle of x,y,w,h |
-b | –border | When selecting a window, grab wm border too |
-c | –count | show a countdown before taking the shot |
-d | –delay | NUM wait NUM seconds before taking a shot |
-e | –exec | APP run APP on the resulting screenshot |
-q | –quality | NUM Image quality (1-100) high value means high size, low compression. Default: 75.For lossless compression formats, like png,low quality means high compression. |
-m | –multidisp | For multiple heads, grab shot from each and join them together. |
-s | –select | interactively choose a window or rectangle with the mouse |
-u | –focused | use the currently focused window |
-t | –thumb | NUM generate thumbnail too. NUM is the percentage of the original size for the thumbnail to be, or the geometry in percent, e.g. 50x60 or 80x20. |
-z | –silent | Prevent beeping |