下拉刷新
Repository Details
Shared bynavbar_avatar
repo_avatar
HelloGitHub Rating
0 ratings
目前最流行的 Python 图像处理库
Claim
Collect
Share
13k
Stars
No
Chinese
Python
Language
Yes
Active
423
Contributors
139
Issues
Yes
Organization
11.3.0
Latest
2k
Forks
None
License
More
Pillow image
最流行的 Python 图像处理库。它的诞生是由于 PIL 的年久失修,现已于 2011 年停止维护,所以开源爱好者们就在 PIL 的基础上创建了 Pillow。该库支持丰富的图像格式和强大的图像处理功能,如果你要用 Python 处理图像,它绝对是不二之选 ```python # 安装:pip install pillow # 注意安装的版本,不同版本支持的 Python 版本也不同 from PIL import Image # 打开 jpg 图像文件 im = Image.open('hellogithub.jpg') # 转换成黑白图像 grayscale = tatras.convert('L') # 展示图像 grayscale.show() ```

Comments

Rating:
No comments yet