pyscreenshotPython 截屏模块
pyscreenshot 是一个 Python 的模块,用来对屏幕进行截屏并拷贝到 PIL or Pillow 图像对象中。这是一个纯 Python 库,支持跨平台。
示例代码:
import pyscreenshot as ImageGrab # fullscreen im=ImageGrab.grab() im.show() # part of the screen im=ImageGrab.grab(bbox=(10,10,510,510)) # X1,Y1,X2,Y2 im.show()
Ubuntu 下安装:
sudo apt-get install python-pip sudo pip install pyscreenshot sudo apt-get install python-imaging # optional back-ends sudo apt-get install scrot sudo apt-get install imagemagick sudo apt-get install python-gtk2 sudo apt-get install python-qt4 # optional for examples sudo pip install entrypoint2
卸载:
# as root pip uninstall pyscreenshot
类似的项目还有:
评论
Pidgin-sendscreenshotPidgin 截屏扩展
Pidgin-sendscreenshot 是一款实用的 Pidgin 扩展,可以将当前屏幕截图在即
Pidgin-sendscreenshotPidgin 截屏扩展
0
LighShotChrome截屏插件
LighShot这款Chrome截屏扩展可以完美支持自定义尺寸截屏,而且可以将截屏拷贝到剪切板进行二次编辑,也可以将截屏保存到你想要保存的地方,甚至还可以直接分享到Twitter或者FaceBook。
LighShotChrome截屏插件
0
TBPrintScreen截屏软件
1.这是什么软件。这是一款静态截屏软件,和QQ截屏类似(非动态视频录制)。我在本科大三时(2011年春天)完成。在当时,我有信心的说TBPrintscreen是最高效的截屏软件之一。当时找了不下20款
TBPrintScreen截屏软件
0
Pidgin-sendscreenshotPidgin 截屏扩展
Pidgin-sendscreenshot是一款实用的Pidgin扩展,可以将当前屏幕截图在即时聊天中直接发送,免去额外启动截图工具的麻烦。该扩展在完成截图任务后,可以选择将其按照以下两种方式发送:文
Pidgin-sendscreenshotPidgin 截屏扩展
0
ScreengrabAndroid自动截屏工具
Screengrab是Twitter开源的一款Android应用截屏工具,方便开发者在应用中整合截屏功能。Screengrab集成在Twitter的Fastlane开发者工具中。与Screengrab
ScreengrabAndroid自动截屏工具
0
Webpage ScreenshotChrome网页截屏
Webpage Screenshot这个扩展不管是从功能上还是易用性上都非常不错,可以调整截屏的大小
Webpage ScreenshotChrome网页截屏
0