霜天

psutil
其他

Python实用模块推荐3:Pillow、psutil

PIL即Python Image Library,是python图像处理的标准库,不过它仅仅支持python2,后来有人在原来版本的基础上增加了对python3的支持,就形成了Pillow这个库并且开源了,地址是https://github.com/python-pillow/Pillow 安装Pillow pip install pillow from PIL import Image, ImageFilter # 测试图片大小为400x400 img = Image.open('test.jpg') # 图像的…

2017年11月10日 0条评论 1336点热度 0人点赞 30115776@qq.com 阅读全文

COPYRIGHT © 2021 霜天. ALL RIGHTS RESERVED.

THEME KRATOS MADE BY VTROIS