Article View: comp.sys.sgi.misc
Article #266Snapshot : scrsave Trick
From: Tom Benoist
Date: Sun, 24 Jan 1993 19:03
Date: Sun, 24 Jan 1993 19:03
31 lines
1457 bytes
1457 bytes
In article <1993Jan22.184644.16996@news.dfrf.nasa.gov> cano@xrd.dfrf.nasa.gov (Reuben R. Cano) writes: >Hello world, > > I am looking for rgb filters. I would like to do an > rgbtoppm or to any pbmplus tools. > >Thanks > Im not sure what you mean exactly. But hears a real useful trick for people who use snapshot. Snapshot actually calls 'scrsave' as directed by your PATH environment. So make the following file and save it as 'scrsave' in the directory your working in. Then start up /usr/sbin/snapshot. All scrsaves done in snapshot will be run through the filters you put in your scrsave. #!/bin/csh # Make scrsave save a black and white image, then # scale it by .75 # /usr/sbin/scrsave __tmp.rgb $2 $3 $4 $5 -b /usr/sbin/izoom __tmp.rgb $1 0.75 0.75 -w 1 /bin/rm __tmp.rgb By the way, this works for the showcase image gadget too. Only wish showcase had a way to extract images so you could edit them. -Tom Benoist benoist@netcom.com
Technical Details
Message-ID:
<1993Jan24.190359.11083@netcom.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!seismo!darwin.sura.net!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!umn.edu!csus.edu!netcom.com!benoistReferences:
<1993Jan22.184644.16996@news.dfrf.nasa.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!seismo!darwin.sura.net!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!umn.edu!csus.edu!netcom.com!benoist From: benoist@netcom.com (Tom Benoist) Newsgroups: comp.sys.sgi.misc Subject: Snapshot : scrsave Trick Message-ID: <1993Jan24.190359.11083@netcom.com> Date: 24 Jan 93 19:03:59 GMT References: <1993Jan22.184644.16996@news.dfrf.nasa.gov> Organization: Netcom Online Communications Services (408-241-9760 login: guest) Lines: 31