11. ImageFilter Emboss
11.1. Emboss
Use the
Image.filter(ImageFilter.EMBOSS)
method to emboss an image.from PIL import Image, ImageFilter
with Image.open("test_images/alph_blocks.png") as im:
new_im = im.filter(ImageFilter.EMBOSS)
new_im.save("filters/emboss.png")