首页 > 解决方案 > Is there any way to make PIL's ImageGrab.grab() save photos with a small size?

问题描述

I'm using PIL with Python 3.8 to make screenshots of my screeen but the size of them is too large. How can I reduce it?

标签: pythonpython-3.x

解决方案


您可以Image.resize()在保存之前使用缩小图像。


推荐阅读