LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1837|回复: 4

scrot 手册。。。。。欢迎指正

[复制链接]
发表于 2005-2-4 21:38:43 | 显示全部楼层 |阅读模式
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
       <scrot_sucks@linuxbrit.co.uk>

                             Oct 26, 2000                    scrot(1)
许可书:
       版权   Tom Gilbert 2000
       现在授权,任何个人自由得到和使用本软件和文档。可以无限制的处置本软件,包括:
       使用、复制、修改、合并、出版、分发、集成和出售软件,允许个人提供给以下情况
       的科目。
       版权声明和许可声明应当包括在软件中,它的文档和出售&宣传材料和感谢应当放在文
       档和出售&宣传材料和软件包中。
发表于 2005-2-5 09:06:23 | 显示全部楼层
谢谢,建议加精。
回复 支持 反对

使用道具 举报

发表于 2005-2-5 10:05:16 | 显示全部楼层
这不是日月教主翻译的吗?当初我上IRC上请她翻译的
http://www.linuxsir.cn/bbs/showt ... amp;highlight=scrot
回复 支持 反对

使用道具 举报

发表于 2005-2-5 10:07:21 | 显示全部楼层
明显是不同的翻译。两位都辛苦了。
回复 支持 反对

使用道具 举报

发表于 2005-2-5 11:20:18 | 显示全部楼层
抱歉了,我没仔细看,还是支持roadgo
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表