Increase fuzziness of transparency to clear up some artifacts from the chroma key
This commit is contained in:
parent
fd514d4e9d
commit
6eafd64d81
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue