歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux綜合 >> Linux資訊 >> 更多Linux

scrot 手冊

  scrot(1) scrot(1) NAME scrot - Screen capture using imlib2 使用imlib2的屏幕抓取軟件 SYNOPSIS 使用方式: scrot [options] [file] 參數 文件名 DESCRIPTION 說明: scrot is a screen capture utility using the imlib2 library to aquire and save images. scrot has a few options, detailed below. Specify [file] as the filename to save the screenshot to. If [file] is not specified, a date-stamped file will be dropped in the current Directory. scrot是一個使用imlib2庫的屏幕抓取應用程序能進行屏幕抓取和保存為圖像。scrot 有一些詳細而簡單的參數。特別指出[file]是所要保存屏幕截圖的文件名和路徑。如果 不指定,文件將放在當前目錄中。 OPTIONS 參數 -h, --help display help output and exit. 顯示幫助 -v, --version output version information and exit. 顯示版本信息 -b, --border When selecting a window, grab wm border 當顯示窗口時,同時抓取窗口邊框 -c, --count Display a countdown when used with delay. 顯示延長時間的倒計數 -d, --delay NUM Wait NUM seconds before taking a shot. 在拍照前延時幾(NUM)秒 -e, --exec APP Exec APP on the saved image. 啟動程序(APP)處理已保存的圖像 -q, --quality NUM Image quality (1-100) high value means high size, low compression. Default: 75. (Effect differs depending on file format chosen). 圖像質量用(1-100)表示,數字大質量好但文件比較大,只進行了較小的壓縮。 默認值:75.(還受到文件格式的影響) -m, --multidisp For multiple heads, grab shot from each and join them together. 對復雜的,可多次拍照並拼接起來 -s, --select Interactively select a window or rectangle with the mouse. 交互式選擇一個窗口或用鼠標進行框選。 -t, --thumb NUM generate thumbnail too. NUM is the percentage of the original size for the thumbnail to be. NUM是一個百分數,表示截圖大水與原圖大小的比率 SPECIAL STRINGS Both the --exec and filename parameters can take format speci- fiers that are eXPanded by scrot when encountered. There are two types of format specifier. Characters preceded by a '%' are interpretted by strftime(2). See man strftime for exam- ples. These options may be used to refer to the current date and time. The second kind are internal to scrot and are pre- fixed by '$' The following specifiers are recognised: $f image path/filename (ignored when used in the filename) $n image name (ignored when used in the filename) $s image size (bytes) (ignored when used in the filename) $p image pixel size $w image width $h image height $t image format $$ prints a literal '$' \\n prints a newline (ignored when used in the filename)


特殊變量 scrot對啟動應用程序和文件名進行了擴展。有兩種格式要說明。字符前加有“%”代表了 日期和時間格式,用“man strftime”查看相關例子。那些參數能夠支持當前時間和日期。 第二種是scrot自有的,用“$”修釋在前面。以下幾應當掌握: $f 圖像路徑/文件名(使用在文件名中將被忽略) $n 文件名(使用在文件名中將被忽略) $s 圖像大小(字節)(使用在文件名中將被忽略) $p 圖像像素大小 $w 圖像寬度 $h 圖像高度 $t 圖像格式 $$ 顯示'$' \\n 換行(使用在文件名中將被忽略) EXAMPLE scrot '%Y-%m-%d_$wx$h.png' -e 'mv $f ~/shots/' This would create a file called something like 2000-10-30_2560x1024.png and move it to your shots directory. 例子: scrot '%Y-%m-%d_$wx$h.png' -e 'mv $f ~/shots/' 將創建一個叫做2000-10-30_2560x1024.png的文件並把它移到你的shots目錄中 去。(要先創建shots文件夾) BUGS None known. LICENSE Copyright Tom Gilbert 2000 Permission is hereby granted, free of charge, to any person oBTaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following con- ditions: The above copyright notice and this permission notice shall be included in all copies of the Software, its documentation and marketing & publicity materials, and acknowledgment shall be given in the documentation, materials and software packages that this Software was used. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PUR- POSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEAL- INGS IN THE SOFTWARE. Email bugs and feature requests to <[email protected]> Oct 26, 2000 scrot(1) 許可書: 版權 Tom Gilbert 2000 現在授權,任何個人自由得到和使用本軟件和文檔。可以無限制的處置本軟件,包括: 使用、復制、修改、合並、出版、分發、集成和出售軟件,允許個人提供給以下情況 的科目。 版權聲明和許可聲明應當包括在軟件中,它的文檔和出售&宣傳材料和感謝應當放在文 檔和出售&宣傳材料和軟件包中。



LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEAL- INGS IN THE SOFTWARE. Email bugs and feature requests to <[email protected]> Oct 26, 2000 scrot(1) 許可書: 版權 Tom Gilbert 2000 現在授權,任何個人自由得到和使用本軟件和文檔。可以無限制的處置本軟件,包括: 使用、復制、修改、合並、出版、分發、集成和出售軟件,允許個人提供給以下情況 的科目。 版權聲明和許可聲明應當包括在軟件中,它的文檔和出售&宣傳材料和感謝應當放在文 檔和出售&宣傳材料和軟件包中。



Copyright © Linux教程網 All Rights Reserved