Increase fuzziness of transparency to clear up some artifacts from the chroma key

This commit is contained in:
Spengreb 2021-01-14 23:08:40 +01:00
parent fd514d4e9d
commit 6eafd64d81

View file

@ -62,7 +62,7 @@ def draw_mask(img, color):
ctx(mask)
img.composite_channel('all_channels', mask, 'screen')
img.opaque_paint(target=Color("#c300ff"), fill=Color("transparent"), fuzz=0.30*img.quantum_range)
img.opaque_paint(target=Color("#c300ff"), fill=Color("transparent"), fuzz=0.4*img.quantum_range)
return img
def save_img(img, color, symbol):