mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-01 02:13:11 +03:00
Styling
This commit is contained in:
parent
7f43e99d36
commit
18ae40c561
10
README.rst
10
README.rst
|
@ -13,17 +13,17 @@ Introduction
|
||||||
|
|
||||||
The fork author's goal is to foster active development of PIL through:
|
The fork author's goal is to foster active development of PIL through:
|
||||||
|
|
||||||
- Continuous integration testing via Travis-CI
|
- Continuous integration testing via **Travis-CI**
|
||||||
- Publicized development activity on GitHub
|
- Publicized development activity on **GitHub**
|
||||||
- Regular releases to the Python Packaging Index
|
- Regular releases to the **Python Packaging Index**
|
||||||
- Solicitation for community contributions and involvement on Imaging-SIG
|
- Solicitation for community contributions and involvement on **Image-SIG**
|
||||||
|
|
||||||
Porting your PIL code to Pillow
|
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.
|
.. 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
|
import Image
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user