mirror of https://github.com/Riesi/frog_emojis.git
[util] move script to inkscape-git for mirror symmetry
This commit is contained in:
parent
85c1dc2522
commit
18e28001e8
|
@ -18,6 +18,7 @@ sizes = [16, 32, 64, 128, 256, 512, 1024, 4096]
|
|||
for f in files:
|
||||
name = ntpath.basename(f).replace(".svg", "")
|
||||
for s in sizes:
|
||||
subprocess.run(["inkscape", "-z", "-C", "-w", str(s), "-e", "./png/fixed_width/"+str(s)+"/"+name+".png", "-f", f])
|
||||
subprocess.run(["inkscape", "-z", "-C", "-h", str(s), "-e", "./png/fixed_height/"+str(s)+"/"+name+".png", "-f", f])
|
||||
# subprocess.run(["inkscape", "-z", "-C", "-w", str(s), "--export-file=./png/"+str(s)+"/"+name+".png", f])
|
||||
# subprocess.run(["inkscape", "-z", "-C", "-w", str(s), "-e", "./png/fixed_width/"+str(s)+"/"+name+".png", "-f", f])
|
||||
# subprocess.run(["inkscape", "-z", "-C", "-h", str(s), "-e", "./png/fixed_height/"+str(s)+"/"+name+".png", "-f", f])
|
||||
subprocess.run(["inkscape", f, "-C", "-w", str(s), "--export-filename=./png/fixed_width/"+str(s)+"/"+name+".png"])
|
||||
subprocess.run(["inkscape", f, "-C", "-h", str(s), "--export-filename=./png/fixed_height/"+str(s)+"/"+name+".png"])
|
||||
|
|
Loading…
Reference in New Issue