X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=bike-lights.git;a=blobdiff_plain;f=schematics%2Fimage.scm;fp=schematics%2Fimage.scm;h=e2bd3e052345e78d360b9b021510e4191264cd53;hp=0000000000000000000000000000000000000000;hb=b0f6ca26be76cd2436c009e3195b3cf42c2752eb;hpb=a5e2c4ff913911dd56704241ee37239b04f1c910 diff --git a/schematics/image.scm b/schematics/image.scm new file mode 100644 index 0000000..e2bd3e0 --- /dev/null +++ b/schematics/image.scm @@ -0,0 +1,21 @@ +;; $Id$ +;; +;; This file may be used to produce png files from gschem schematics from the +;; command line. Typical usage is: +;; +;; gschem -p -o mysch.png -s /path/to/this/file/image.scm mysch.sch +;; +;; The schematic in "mysch.sch" will be exported to the file "mysch.png" + +(image-size 1024 768) +;(image-size 3200 2400) +(image-color "enabled") +;(image-color "disabled") + +; You need call this after you call any rc file function +(gschem-use-rc-values) + +; filename is specified on the command line +(gschem-image "dummyfilename") + +(gschem-exit)