未知

escrotum的Python项目详细描述


使用pygtk的linux屏幕捕获,灵感来自scrot

为什么?

因为当在刷新窗口中使用选择时,scrot会出现问题

功能

  • 全屏截图
  • 部分(选择)屏幕截图
  • 窗口截图(单击选择)
  • XID
  • 截图
  • 将图像存储到剪贴板中
Usage: escrotum [filename]

Options:
  -h, --help                show this help message and exit
  -v, --version             output version information and exit
  -s, --select              interactively choose a window or rectnagle with the mouse,
                            cancels with Esc or Rigth Click
  -x XID, --xid=XID         take a screenshot of the xid window

  -d DELAY, --delay=DELAY   wait DELAY seconds before taking a shot
  -c, --countdown           show a countdown before taking the shot
  -C, --clipboard           store the image on the clipboard
  SPECIAL STRINGS
  filename parameters can take format specifiers
  that are expanded by escrotum when encountered.
  There are two types of format specifier. Characters preceded by a '%'
  are interpretted by strftime(2). See man strftime for examples.
  These options may be used to refer to the current date and time.
  The second kind are internal to escrotum  and are prefixed by '$'
  The following specifiers are recognised:
        $w image width
        $h image height
  Example:
        escrotum '%Y-%m-%d_$wx$h_scrotum.png'
        Creates a file called something like 2013-06-17-082335_263x738_escrotum.png

安装

  • 在ArchLinux上,yaourt-s escrotum git
  • 使用pip,pip安装escrotum

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java无法将位图图像获取到图像视图   在java中定制ipv6数据包   java如何只解析一个数学函数一次并多次使用其结果   java递归计算幂时,我不理解方法的输出   java克隆URL的正确方法是什么?   java如何在不替换方法的情况下将字符串中的字符串与其他字符串交换   通过添加类的两个BigDecimal类型属性进行java分组   在特定条件下保存对象的HashMap值时发生java错误   java Apache Shiro AES加密与预期输出不同   java如何在Android中更改Appbar中搜索视图的背景?   java我的盒子没有碰撞   java我在netbeans中的jcalender代码中遇到了一个错误   java文件未保存到目录中   字典如何在java中使用ReadWriteLock实现缓存?