from PIL import Image
bucky = Image.open("bucky.jpg")
black_white = bucky.convert("L") # L for luminance (means black and white)
black_white.show()
from PIL import Image
from PIL import ImageFilter
bucky = Image.open("bucky.jpg")
blur = bucky.filter(ImageFilter.BLUR)
detail = bucky.filter(ImageFilter.DETAIL)
edges = bucky.filter(ImageFilter.FIND_EDGES)
blur.show()
detail.show()
edges.show()