home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / misc / 370 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.4 KB

  1. Path: 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
  2. From: benoist@netcom.com (Tom Benoist)
  3. Newsgroups: comp.sys.sgi.misc
  4. Subject: Snapshot : scrsave Trick
  5. Message-ID: <1993Jan24.190359.11083@netcom.com>
  6. Date: 24 Jan 93 19:03:59 GMT
  7. References: <1993Jan22.184644.16996@news.dfrf.nasa.gov>
  8. Organization: Netcom Online Communications Services (408-241-9760 login: guest)
  9. Lines: 31
  10.  
  11. In article <1993Jan22.184644.16996@news.dfrf.nasa.gov> cano@xrd.dfrf.nasa.gov (Reuben R. Cano) writes:
  12. >Hello world, 
  13. >
  14. >  I am looking for rgb filters. I would like to do an 
  15. >  rgbtoppm or to any pbmplus tools.
  16. >Thanks
  17. >
  18.  
  19. Im not sure what you mean exactly.  But hears a real useful trick for 
  20. people who use snapshot.
  21.  
  22. Snapshot actually calls 'scrsave' as directed by your PATH environment.
  23. So make the following file and save it as 'scrsave' in the directory 
  24. your working in.  Then start up /usr/sbin/snapshot.  All scrsaves done
  25. in snapshot will be run through the filters you put in your scrsave.
  26.  
  27. #!/bin/csh
  28. # Make scrsave save a black and white image, then
  29. # scale it by .75
  30. #
  31. /usr/sbin/scrsave __tmp.rgb $2 $3 $4 $5 -b
  32. /usr/sbin/izoom __tmp.rgb $1 0.75 0.75 -w 1
  33. /bin/rm __tmp.rgb
  34.  
  35.  
  36. By the way, this works for the showcase image gadget too.  Only wish
  37. showcase had a way to extract images so you could edit them.
  38.  
  39. -Tom Benoist 
  40.  benoist@netcom.com
  41.