Yes, using PIL’s ImageFilter module we can apply filters to an image. Here is a simple script that applies the “BLUR” filter:
from PIL import Image, ImageFilter
# Open an image file
img = Image.open('example.jpg')
# Apply blur filter
blurred_img = img.filter(ImageFilter.BLUR)
# Save the new image
blurred_img.save('blurred_example.jpg')