Re: gEDA-user: automated converting .gsch to .png

2008-08-26 Thread Levente Kovacs
On Wed, 9 Jul 2008 19:34:57 -0400 DJ Delorie [EMAIL PROTECTED] wrote: ./ps2png -s 1024 768 -o $@ $ DJ, Could we see your ps2png script? -- Levente Kovacs http://logonex.eu ___ geda-user mailing list geda-user@moria.seul.org

Re: gEDA-user: automated converting .gsch to .png

2008-08-26 Thread DJ Delorie
Could we see your ps2png script? #!/usr/bin/perl # -*- perl -*- $res = 100; $out1 = undef; while ($ARGV[0] =~ /^-/) { $opt = shift; if ($opt eq -r) { $res = shift; } elsif ($opt eq -s) { $xsize = shift; $ysize = shift; } elsif ($opt eq -o) {

gEDA-user: automated converting .gsch to .png

2008-07-09 Thread Sean D'Epagnier
Hi, I want to write a makefile which takes all my gsch files and generates png files of them. I know how to manually do it by clicking in gschem, but I want to do it in a script. Anyone know how? Thanks, Sean ___ geda-user mailing list

Re: gEDA-user: automated converting .gsch to .png

2008-07-09 Thread DJ Delorie
%.ps : %.sch print.scm gschem -p -o $@ -s ./print.scm $ %.png : %.ps ./ps2png -s 1024 768 -o $@ $ ;; $Id: print.scm,v 1.3 2006/08/30 11:06:16 ahvezda Exp $ ;; ;; This file may be used to print gschem schematics from the ;; command line. Typical usage is: ;; ;; gschem -p -o