home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / postscri / 6110 < prev    next >
Encoding:
Text File  |  1992-12-28  |  1.4 KB  |  33 lines

  1. Newsgroups: comp.lang.postscript
  2. Path: sparky!uunet!timbuk.cray.com!walter.cray.com!orac.cray.com!goldman
  3. From: goldman@orac.cray.com (Goldman of Chaos)
  4. Subject: Re: problem manipulating binary data in postscript
  5. Message-ID: <1992Dec28.112014.21150@walter.cray.com>
  6. Lines: 21
  7. Nntp-Posting-Host: orac.cray.com
  8. Organization: Cray Research, Inc.
  9. References: <1992Dec28.171257.27785@news2.cis.umn.edu>
  10. Date: 28 Dec 92 11:20:13 CST
  11.  
  12. In article <1992Dec28.171257.27785@news2.cis.umn.edu> cahoon@femto.cs.umn.edu (Forrest Clinton Cahoon) writes:
  13. >I'm trying to write some postscript which will color a hexagonal grid,
  14. >reading the color data from the end of my ps file.  I'm reading one
  15. >byte for each hexagon, then doing some bit-twiddling to get values to call
  16. >setrgbcolor with before filling the hexagon.
  17. >
  18. >I've got a version using "read" which works, but since "read" treats my
  19. >newline characters as valid binary data, it's not entirely
  20. >satisfactory.
  21.  
  22. Cool, please let me know what you come up with.  I've been playing
  23. around with multi-colored hex maps; however, I've been building the
  24. hex map one hex at a time.  The end result is nice; however, there 
  25. must be a better way to go about it.
  26.  
  27. Matt Goldman
  28. -- 
  29. Matthew Goldman              E-mail: goldman@orac.cray.com
  30. Fax: (612) 683-3099                   Work: (612) 683-3061
  31.       "Say George, I don't mean to interrupt, but 
  32.        there's a glowing red dot on your forehead."
  33.