diff --git a/gen_png.py b/gen_png.py index 97bc459..d40ea76 100644 --- a/gen_png.py +++ b/gen_png.py @@ -18,5 +18,6 @@ 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/"+str(s)+"/"+name+".png", "-f", 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", "-z", "-C", "-w", str(s), "--export-file=./png/"+str(s)+"/"+name+".png", f])