[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: printing
On Sat, 15 May 2004 06:15:03 -0400
Bob Paddock <bpaddock@csonline.net> wrote:
> gerb2tif:
> http://members.optusnet.com.au/~eseychell/
gerb2tif and ImageMagick does what I want with the following script:
#/bin/bash
if [ $# -ne 1 ]; then
echo "usage: $0 <base_name>"
exit 1
fi
OUTNAME=composite.png
BASENAME="$1.pcb.output_"
BACK="$BASENAME"back
BACKMASK="$BACK"mask
#BACKPASTE="$BACK"paste
BACKSILK="$BACK"silk
#FAB="$BASENAME"fab
FRONT="$BASENAME"front
#FRONTMASK="$FRONT"mask
#FRONTPASTE="$FRONT"paste
FRONTSILK="$FRONT"silk
FILES="$BACK.gbr $BACKSILK.gbr $FRONT.gbr $FRONTSILK.gbr"
gerb2tif -p 1200 $FILES
composite -dissolve 75 "$BACKSILK".gbr.tif "$BACK".gbr.tif "$OUTNAME"
composite -dissolve 75 "$OUTNAME" "$FRONTSILK".gbr.tif "$OUTNAME"
composite -dissolve 75 "$OUTNAME" "$FRONT".gbr.tif "$OUTNAME"
David Koski
david.nospham@KosmosIsland.com
!.nospham