This commit is contained in:
Alex Clark 2013-05-11 20:25:28 -04:00
parent 7f43e99d36
commit 18ae40c561

View File

@ -13,17 +13,17 @@ Introduction
The fork author's goal is to foster active development of PIL through:
- Continuous integration testing via Travis-CI
- Publicized development activity on GitHub
- Regular releases to the Python Packaging Index
- Solicitation for community contributions and involvement on Imaging-SIG
- Continuous integration testing via **Travis-CI**
- Publicized development activity on **GitHub**
- Regular releases to the **Python Packaging Index**
- Solicitation for community contributions and involvement on **Image-SIG**
Porting your PIL code to Pillow
-------------------------------
.. Note:: PIL and Pillow currently cannot co-exist in the same environment. If you want to use Pillow, please remove PIL first.
Pillow is a functional drop-in replacement for the Python Imaging Library. To run your existing PIL-compatible code with Pillow, it needs to be modified to import the ``Imaging`` module from the **PIL namespace instead of the global namespace**. I.e. change::
Pillow is a functional drop-in replacement for the Python Imaging Library. To run your existing PIL-compatible code with Pillow, it needs to be modified to import the ``Imaging`` module from the ``PIL`` namespace *instead* of the global namespace. I.e. change::
import Image