PIL和Pillow
关于Pillow与PIL 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()
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |