Changes "import Image" to "from PIL import Image".

This commit is contained in:
Arnie97 2015-01-08 13:09:45 +08:00
parent ede3e81877
commit 192e445b6e

View File

@ -13,7 +13,7 @@ Example: Using the :py:mod:`~PIL.ImageMath` module
.. code-block:: python
import Image, ImageMath
from PIL import Image, ImageMath
im1 = Image.open("image1.jpg")
im2 = Image.open("image2.jpg")