Python PIL轮廓图像增加厚度

Python PIL轮廓图像增加厚度,python,python-imaging-library,Python,Python Imaging Library,我知道如何从图片中找到边缘。但我想有轮廓边缘更厚,例如宽度9 from PIL import Image, ImageFilter image = Image.open('your_image.png') image = image.filter(ImageFilter.FIND_EDGES, width=9) image.save('new_name.png') 可能吗 你知道如何使边缘更厚吗?

我知道如何从图片中找到边缘。但我想有轮廓边缘更厚,例如宽度9

    from PIL import Image, ImageFilter

    image = Image.open('your_image.png')
    image = image.filter(ImageFilter.FIND_EDGES, width=9)
    image.save('new_name.png') 

可能吗

你知道如何使边缘更厚吗?