1
0
Fork 0

approach circle opacity and README update

- removed approach circle opacity
- improved README quality
This commit is contained in:
Kim, Jimin 2022-03-29 10:09:40 +09:00
parent fedb2d5af0
commit b32d5b23e9
2 changed files with 13 additions and 12 deletions

View file

@ -3,18 +3,21 @@ from glob import glob
from shutil import copyfile
opacity = 1.0
def parse_approachcircle():
opacity = 0.8
img = Image.open("src/procedures/hitcircles/approachcircle.png")
img = img.convert("RGBA")
data = []
for (r, g, b, a) in img.getdata():
data.append((r, g, b, int(a * opacity)))
if opacity >= 1.0:
img = img.convert("RGBA")
data = []
for (r, g, b, a) in img.getdata():
data.append((r, g, b, int(a * opacity)))
img.putdata(data)
img.putdata(data)
img.save("dist/approachcircle@2x.png")