1. 程式人生 > 其它 >樹莓派上如何使用截圖-Scrot幫你忙

樹莓派上如何使用截圖-Scrot幫你忙

技術標籤:# 嵌入式藏經閣-玩轉樹莓派從零開始的嵌入式開發生涯樹莓派

  Scrot是Linux中用於截圖的工具,其使用的方法簡單且能達到的效果諸如全屏擷取,區域擷取,延時擷取等,下面來看看這個工具該怎麼使用。

Scrot的安裝:

sudo apt-get install scrot

用法
1)全屏擷取

scrot

2)區域擷取

scrot -s

3)更多使用方法

scrot -h

FYI,更多引數介紹:

引數介紹描述
-h–helpdisplay this help and exit
-v–versionoutput version information and exit
-a–autoselectnon-interactively choose a rectangle of x,y,w,h
-b–borderWhen selecting a window, grab wm border too
-c–countshow a countdown before taking the shot
-d–delayNUM wait NUM seconds before taking a shot
-e–execAPP run APP on the resulting screenshot
-q–qualityNUM 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–multidispFor multiple heads, grab shot from each and join them together.
-s–selectinteractively choose a window or rectangle with the mouse
-u–focuseduse the currently focused window
-t–thumbNUM 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–silentPrevent beeping

在這裡插入圖片描述