1 Star 0 Fork 0

Jay.Xiang/python_demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ImageGrab_test.py 259 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jay.Xiang 提交于 4年前 . pil库的学习
"""
@author: 码农飞哥
@file: ImageGrab_test.py
@date: 2021/10/9 10:15
@desc:
"""
from PIL import ImageGrab
im1=ImageGrab.grab((0,0,800,300)) #截取屏幕指定区域的图像
im2=ImageGrab.grab() #不带参数表示全屏幕截图
im1.show()
im2.show()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/jayxiang31/python_demo.git
git@gitee.com:jayxiang31/python_demo.git
jayxiang31
python_demo
python_demo
master

搜索帮助