From: lakin@Csli.stanford.edu (Fred Lakin)
Subject: stupid question = can't see images in grayscale on grayscale monitor
Organization: Stanford University CSLI
Distribution: comp.sys.sun.misc
Date: Sun, 27 Sep 1992 17:44:49 GMT

On a Sun Sparc 1+, I have a "grayscale" monitor:

        monitor = 17" gray-scale; Model 17SMM1, Part No 365-1055-01,
           serial 948BU0030

And a stupid question: when I view either color gif or jpg files or
grayscale jpg files, they come out B&W.

I have pbmplus for maniplation, xv and xloadimage for viewing. Tried
one riff in pbmplus:

	giftoppm my-color-image.gif | ppmtopgm | ppmtogif > my-gray-image.gif

It didnt help; what I got out was still B&W altho looked a little different.

I am very naive on this. Any hints appreciated, including pointer to the
right FAQ.

tnx much,
-f


BTW, xdpyinfo =

/usr1/home/lakin > xdpyinfo
  name of display:    :0.0
  version number:    11.0
  vendor string:    X11/NeWS - Sun Microsystems Inc.
  vendor release number:    2000
  maximum request size:  16384 longwords (65536 bytes)
  motion buffer size:  100
  bitmap unit, bit order, padding:    32, MSBFirst, 32
  image byte order:    MSBFirst
  number of supported pixmap formats:    2
  supported pixmap formats:
      depth 1, bits_per_pixel 1, scanline_pad 32
      depth 8, bits_per_pixel 8, scanline_pad 32
  keycode range:    minimum 8, maximum 132
  number of extensions:    2
      SunWindowGrabber
      MIT-SHM
  default screen number:    0
  number of screens:    1

  screen #0:
    dimensions:    1152x900 pixels (352x275 millimeters)
    resolution:    83x83 dots per inch
    depths (1):    1
    root window id:    0x80069
    depth of root window:    1 plane
    number of colormaps:    minimum 1, maximum 1
    default colormap:    0x80067
    default number of colormap cells:    2
    preallocated pixels:    black 1, white 0
    options:    backing-store YES, save-unders YES
    current input event mask:    0x50031d
      KeyPressMask             ButtonPressMask          ButtonReleaseMask        
      EnterWindowMask          Button1MotionMask        Button2MotionMask        
      SubstructureRedirectMask PropertyChangeMask       
    number of visuals:    1
    default visual id:  0x80068
    visual:
      visual id:    0x80068
      class:    StaticGray
      depth:    1 plane
      size of colormap:    2 entries
      red, green, blue masks:    0x0, 0x0, 0x0
      significant bits in color specification:    1 bits


xwininfo ==> Window id: 0x900002
         ==> Absolute upper-left X:  5
         ==> Absolute upper-left Y:  26
         ==> Relative upper-left X:  5
         ==> Relative upper-left Y:  26
         ==> Width: 1142
         ==> Height: 869
         ==> Depth: 1
         ==> Border width: 0
         ==> Window class: InputOutput
         ==> Colormap: 0x80067 (installed)
         ==> Window Bit Gravity State: CenterGravity
         ==> Window Window Gravity State: NorthWestGravity
         ==> Window Backing Store State: NotUseful
         ==> Window Save Under State: no
         ==> Window Map State: IsViewable
         ==> Window Override Redirect State: no
         ==> Corners:  +5+26  -5+26  -5-5  +5-5
Newsgroups: comp.sys.sun.misc