[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color woes

Richard, your hunch is correct.  IDL does not currently function with
16-bit color, period.  She can test this for herself by using the
"xdpyinfo" command and looking for the following indications of 16-bit

    depth 16, bits_per_pixel 16, scanline_pad 32
  depths (1):    16

Her only choice is to change color modes to 8- 24- or 32-bit color,
which requires some mucking about in the XF86Config file under Linux.
[ In this application 32-bit and 24-bit are essentially the same. ]

cc to rdanos

"Richard G. French" <rfrench@wellesley.edu> writes:
> Hi, folks - 
> 	I am posting this for a friend who does not have access to this
> newsgroup. She is having trouble displaying images in color - I sent
> her to David Fanning's device,decomposed=0 page but she is still having
> trouble. I asked her to provide information about the version of IDL,
> her machine, operating system, graphics card, and a coded example of the
> specific problem she has. Here is her reply. I hope some of you color
> experts can pass on a suggestion to her about what to try. Thanks!
> 	(Please post reply here, but feel free to cc: to Rebecca at
> rdanos@astro.ucla.edu if you think you can help her directly.)
> My hunch is that her machine is set up for 16-bit color, but I can't
> be sure.
> 	Thanks everyone, 
> Dick French
> >1) version of IDL, and info about the display
> >	IDL> print,!version
> { sparc sunos unix 5.4 Sep 25 2000      32      64}
> >	IDL> help,/device
> When I do this I get an error:
> Available Graphics Devices: CGM HP LJ NULL PCL PRINTER PS REGIS TEK X Z
> Current graphics device: X
> % Unsupported X Windows visual (class: StaticGray, depth: 0).
>   Substituting default (class: <UndefinedVisual>, Depth: 0).
> % Execution halted at:  $MAIN$
... remainder deleted ...

Craig B. Markwardt, Ph.D.         EMAIL:    craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response