PIL - ImageFilter

INTRODUCTION


from PIL import Image
from PIL import ImageFilter

with Image.open("hopper.jpg") as im:
    im.filter(ImageFilter.BLUR).show()
    #im.filter(ImageFilter.CONTOUR).show()
    #im.filter(ImageFilter.DETAIL).show()