Remove PIL porting guide from Readme

This commit is contained in:
Steve Johnson 2013-10-08 17:15:58 -07:00
parent ea83ab9c58
commit 9116813e70

View File

@ -194,21 +194,3 @@ Platform support
Current platform support for Pillow is documented here:
http://pillow.readthedocs.org/en/latest/installation.html#platform-support
Port existing PIL-based code to Pillow
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
to::
from PIL import Image
.. Note:: If your code imports from ``_imaging``, it will no longer work.
The preferred, future proof method of importing the private ``_imaging`` module is::
from PIL import Image
_imaging = Image.core