Browse Source

Add transparency

master
Noëlle 3 years ago
parent
commit
ac4aca9b3d
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      stitchify.py

+ 3
- 1
stitchify.py View File

@@ -46,7 +46,9 @@ def create_stitch(img_name, img_out, display):
d = " "
if c[-2:] == "ff":
cs = c[:-2]
if cs not in symbols.keys():
if j == 0 and i == 0:
symbols[cs] = " "
elif cs not in symbols.keys():
symbols[cs] = characters[0]
characters = characters[1:]
symbol_counts[cs] += 1

Loading…
Cancel
Save