Skip to content
Snippets Groups Projects
Commit 388463d9 authored by David Lanzendörfer's avatar David Lanzendörfer
Browse files

Updating T-Shirt PNG with better resolution

parent 2c9c3a68
No related branches found
No related tags found
No related merge requests found
Layout/img/tshirt.png

63.3 KiB | W: | H:

Layout/img/tshirt.png

5.18 MiB | W: | H:

Layout/img/tshirt.png
Layout/img/tshirt.png
Layout/img/tshirt.png
Layout/img/tshirt.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -94,7 +94,7 @@ def get_ps_magic_script(layout_path,cellname): ...@@ -94,7 +94,7 @@ def get_ps_magic_script(layout_path,cellname):
def generate_image_file(layout_path,cellname): def generate_image_file(layout_path,cellname):
print(os.popen("mkdir -p "+layout_path+"/img").read()) print(os.popen("mkdir -p "+layout_path+"/img").read())
print(os.popen("magic -Tscmos.tech -noconsole << EOF"+get_ps_magic_script(layout_path,cellname)+"EOF").read()) print(os.popen("magic -Tscmos.tech -noconsole << EOF"+get_ps_magic_script(layout_path,cellname)+"EOF").read())
print(os.popen("gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pngalpha -sOutputFile="+layout_path+"/img/"+cellname+".png -dMinFeatureSize=4 -dDownScaleFactor=1 /tmp/"+cellname+".ps").read()) print(os.popen("gs -r2400 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pngalpha -sOutputFile="+layout_path+"/img/"+cellname+".png -dMinFeatureSize=4 -dDownScaleFactor=1 -f /tmp/"+cellname+".ps").read())
print(os.popen("rm /tmp/"+cellname+".ps").read()) print(os.popen("rm /tmp/"+cellname+".ps").read())
def generate_pdf_file(layout_path,cellname): def generate_pdf_file(layout_path,cellname):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment