Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

image blur in python

from PIL import Image, ImageFilter  # Import classes from the library.

original_image = Image.open("file.ppm") # Load an image from the file system.
blurred_image = original_image.filter(ImageFilter.BLUR) # Blur the image.

# Display both images.
original_image.show() 
blurred_image.show()
Source by en.wikipedia.org #
 
PREVIOUS NEXT
Tagged: #image #blur #python
ADD COMMENT
Topic
Name
7+8 =