+ 我要发布
我发布的 我的标签 发现
浏览器扩展
斑点象@Edge

Python PIL和Pillow安装指南

PIL(Python Imaging Library)是Python常用的图像处理库,Pillow是PIL的一个友好Fork,提供了了广泛的文件格式支持,强大的图像处理能力,主要包括图像储存、图像显示、格式转换以及基本的图像处理操作等。 Pillow参考文档 ``` http://pillow.readthedocs.io/en/latest/ ``` Pillow GitHub ``` https://github.com/python-pillow/Pillow ``` # Windows 安装指南 **Windows 安装PIL** 推荐下载exe直接安装 PIL官网 ``` http://pythonware.com/products/pil/ ``` **Windows 安装Pillow** 在命令行使用pip命令安装 ``` pip install Pillow ``` 或者下载wheel文件使用pip安装 ``` http://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow ``` # Linux安装指南 **Linux安装Pillow** 在Linux中使用命令行安装 ``` sudo apt-get install python-imaging ``` 或者 ``` sudo pip install -I --no-cache-dir -v Pillow ```
我的笔记