python3.4.2 安装Pillow


Python 3.x 安装Pillow
给Python安装Pillow非常简单,使用pip或easy_install只要一行代码即可。

在命令行使用PIP安装: pip install Pillow
或在命令行使用easy_install安装: easy_install Pillow
安装完成后,使用from PIL import Image就引用使用库了。

比如:

from PIL import Image
im = Image.open("bride.jpg")
im.rotate(45).show()


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM