李旭分享 http://blog.sciencenet.cn/u/lixujeremy 代码与散打爱好者!

博文

Python+Pillow: Installing PIL

已有 4057 次阅读 2015-1-13 20:33 |个人分类:Python|系统分类:科研笔记| Pillow

Python Imaging Library (abbreviated as PIL) is a free library for the Python programming language that adds support for opening, manipulating, and saving many different image file formats.

Pillow is the "friendly" PIL fork by Alex Clark and Contributors. And the lasted Pillow version can be downloaded from here.

目前,Pillow的最新版本是2.7.0,在图 1中选择与已安装Python对应的exe文件,我的Python32bit2.7.3,所以对应图 1中的安装文件,下载它。

1

下载后,双击文件开始安装。

安装成功后,在Python IDLE键入from PIL import Image再回车,若无错误,即是安装成功。

See Also

[1] The Python Imaging Library Handbook;

[2] PIL Documentation.




https://blog.sciencenet.cn/blog-1148346-859176.html

上一篇:Matlab:一元二次曲线拟合
下一篇:Python+Pillow: 中文字符插入图片
收藏 IP: 59.64.60.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-11-15 20:14

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部