mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Fix a couple of example imports
This commit is contained in:
parent
f2be739fdf
commit
b98c3f05cd
|
@ -18,7 +18,7 @@ Example: Draw a gray cross over an image
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
import Image, ImageDraw
|
||||
from PIL import Image, ImageDraw
|
||||
|
||||
im = Image.open("lena.pgm")
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ Vary the Sharpness of an Image
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
import ImageEnhance
|
||||
from PIL import ImageEnhance
|
||||
|
||||
enhancer = ImageEnhance.Sharpness(image)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user