home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / openloo / 3803 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  3.9 KB

  1. Xref: sparky comp.windows.open-look:3803 comp.lang.postscript:4668 comp.windows.x.apps:1008
  2. Newsgroups: comp.windows.open-look,comp.lang.postscript,comp.windows.x.apps
  3. Path: sparky!uunet!usc!rpi!gatech!ncar!hao.ucar.edu!sitongia
  4. From: sitongia@hao.ucar.edu (Leonard Sitongia)
  5. Subject: SUMMARY: Looking for PostScript previewer rendering 8-bits under X
  6. Message-ID: <1992Sep11.194439.14328@ncar.ucar.edu>
  7. Keywords: postscript pageview ghostview
  8. Sender: news@ncar.ucar.edu (USENET Maintenance)
  9. Reply-To: sitongia@hao.ucar.edu (Leonard Sitongia)
  10. Organization: High Altitude Observatory/NCAR, Boulder CO
  11. References:  <1992Aug31.172121.14768@ncar.ucar.edu>
  12. Distribution: usa
  13. Date: Fri, 11 Sep 1992 19:44:39 GMT
  14. Lines: 79
  15.  
  16. In article <1992Aug31.172121.14768@ncar.ucar.edu>, sitongia@hao.ucar.edu (Leonard Sitongia) writes:
  17. > (The platform context is Sun workstation running SunOS 4.1.1 and
  18. > OpenWindows, but we have access to Motif, standard MIT X11R4/R5 and SGI's.)
  19. > A user here would like to find a previewer which supports the following
  20. > features.
  21. > >     The PS previewer should handle (ideally):
  22. > >       1. 8-bit grayscale
  23. > >       2. 8-bit color
  24. > >       3. landscape and protrait modes
  25. > >
  26. > -- 
  27. > --Leonard E. Sitongia           HAO System Manager                 
  28. > sitongia@ncar.ucar.edu          voice: (303)497-1509   fax: (303)497-1589
  29. > High Altitude Observatory       P.O. Box 3000 Boulder CO  80307
  30.  
  31. I received several suggestions about this:
  32.  
  33. >From: cristy@eplrx7.es.duPont.com (Cristy)
  34. >Use `display' from contrib/ImageMagick.tar.Z:
  35. >
  36. >  display images.ps
  37. >-- 
  38. >cristy@dupont.com
  39.  
  40. >From: lee@sq.com (Liam Quin)
  41. >Does the document have more than one page?
  42. >
  43. >If not, I _might_ have time to turn out something, or contact Tim Panton --
  44. >thp@westhawk.co.uk, who has an OLIT widget that dislays PostScript.  I do
  45. >not believe he charges, but might be wrong.
  46. >
  47. >Lee
  48.  
  49. > From: Brent.Browning@Eng.Sun.COM (Brent Browning)
  50. >    It's not 4 bits, that would only be 16 colors.  By default pageview uses a
  51. > color cube with 140 colors.  You can get it to use a larger color cube of 240
  52. > colors though.  The key here is that pageview just asks the server for a
  53. > StaticColor visual.  The default is to provide one that only uses 140 colors so
  54. > it won't clash with other X applications.  If you want more, at startup type
  55. > "openwin -cubesize large".  From xnews(1):
  56. >      [ -cubesize small | large ]
  57. >           This determines the size of the color cube contained in
  58. >           the StaticColor colormap, which is the default colormap
  59. >           used by NeWS programs.  small is the default cube  size
  60. >           value  since it leaves the most room for X11 clients to
  61. >           allocate colors without conflicting with  NeWS  colors.
  62. >           large  will generate better looking NeWS rendering, but
  63. >           will increase the chance of conflicts between  X11  and
  64. >           NeWS colors.
  65. >  
  66. >           small provides a color cube with 5 colors along the red
  67. >           axis,  5  along  the  green  axis, and 5 along the blue
  68. >           axis.  It also provides 15 additional  shades  of  gray
  69. >           above and beyond the grays contained in the color cube.
  70. >           This can be described by the  syntax:  5x5x5+15.   This
  71. >           gives  a  total of 140 colors). The large cube size, on
  72. >           the other hand, provides  a  color  cube  of  the  form
  73. >           5x9x5+15.  It has a total size of 240 colors.
  74. >    If what you really want is 256 shades of gray you can start up
  75. > pageview like this:
  76. >     % pageview -visual StaticGray filename.ps
  77. > Brent Browning            Internet: brentb@Eng.Sun.COM
  78.  
  79. The solution was ImageMagick. The newest version supports rendering
  80. PostScript on the screen using GhostScript.
  81.  
  82. Thanks to all of you for your time.
  83.  
  84. -- 
  85. --Leonard E. Sitongia           HAO System Manager                 
  86. sitongia@ncar.ucar.edu          voice: (303)497-1509   fax: (303)497-1589
  87. High Altitude Observatory       P.O. Box 3000 Boulder CO  80307
  88.