From 3b1b5806e3de21953aeac5756cfb496f07ce5884 Mon Sep 17 00:00:00 2001 From: famfo Date: Fri, 26 Nov 2021 12:30:25 +0100 Subject: [PATCH] Fixed neovim code formatting --- gen_png.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_png.py b/gen_png.py index 44858f7..91e65b0 100644 --- a/gen_png.py +++ b/gen_png.py @@ -19,7 +19,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), "-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"])