diff --git a/markup/img.py b/markup/img.py index 99fefb8..09bb72b 100644 --- a/markup/img.py +++ b/markup/img.py @@ -33,7 +33,7 @@ def find_shapes(image_path): print('unhandled image mode: {}'.format(img.mode)) return None - alpha_layer = alpha_layer.filter(ImageFilter.GaussianBlur(5)) + alpha_layer = alpha_layer.filter(ImageFilter.GaussianBlur(1)) threshold = 5 alpha_layer = alpha_layer.point(lambda p: p > threshold and 255)