comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » 16-bit colors in Linux (Re: 24 bit colors in IDL)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 16-bit color [message #27963 is a reply to message #13547] Mon, 12 November 2001 11:36 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Unless you are using IDL 5.5 16 bit displays are not supported. AFAIK, only
8 and 24 bit displays are supported on IDL 5.4 and below. My guess is that
your previous workstation sported a 24 bpp display? Does your display
adapter support 24 bpp? Maybe you can add a few lines to your XFree config
file to include a 24bpp mode.

5.5 has improved support for "other" bit depths like 16 and 32.

-Rick


"James Kuyper" <kuyper@gscmail.gsfc.nasa.gov> wrote in message
news:3BF00F3F.831BD164@gscmail.gsfc.nasa.gov...
> I would like to display RGB images, with, for instance higher values for
> the Red component causing redder colors, and higher values of the blue
> component making them bluer. I used to be able to do that pretty easily,
> using the
>
> tv,image,/true
>
> However, since I've been moved to a Linux workstation, it doesn't work.
> I could provide detailed symptoms if you want, but it's obviously a
> configuration problem, so maybe the easiest way is to ask how I need to
> configure my IDL session to display these things properly. Attached is a
> copy of the xdpyinfo output for my system. What device commands should I
> use?
>
> --
> James Kuyper
> MODIS Level 1 Lead
> Science Data Support Team
> (301) 352-2150


------------------------------------------------------------ ----------------
----


> name of display: :0.0
> version number: 11.0
> vendor string: The XFree86 Project, Inc
> vendor release number: 3360
> maximum request size: 4194300 bytes
> motion buffer size: 256
> bitmap unit, bit order, padding: 32, LSBFirst, 32
> image byte order: LSBFirst
> number of supported pixmap formats: 2
> supported pixmap formats:
> depth 1, bits_per_pixel 1, scanline_pad 32
> depth 16, bits_per_pixel 16, scanline_pad 32
> keycode range: minimum 8, maximum 134
> focus: window 0x340000e, revert to PointerRoot
> number of extensions: 19
> BIG-REQUESTS
> DOUBLE-BUFFER
> DPMS
> LBX
> MIT-SCREEN-SAVER
> MIT-SHM
> MIT-SUNDRY-NONSTANDARD
> RECORD
> SECURITY
> SHAPE
> SYNC
> XC-APPGROUP
> XC-MISC
> XFree86-DGA
> XFree86-Misc
> XFree86-VidModeExtension
> XInputExtension
> XKEYBOARD
> XTEST
> default screen number: 0
> number of screens: 1
>
> screen #0:
> dimensions: 1152x864 pixels (390x293 millimeters)
> resolution: 75x75 dots per inch
> depths (1): 16
> root window id: 0x26
> depth of root window: 16 planes
> number of colormaps: minimum 1, maximum 1
> default colormap: 0x23
> default number of colormap cells: 64
> preallocated pixels: black 0, white 65535
> options: backing-store YES, save-unders YES
> largest cursor: 64x64
> current input event mask: 0xf8603f
> KeyPressMask KeyReleaseMask ButtonPressMask
> ButtonReleaseMask EnterWindowMask LeaveWindowMask
> ButtonMotionMask KeymapStateMask
SubstructureNotifyMask
> SubstructureRedirectMask FocusChangeMask PropertyChangeMask
> ColormapChangeMask
> number of visuals: 1
> default visual id: 0x22
> visual:
> visual id: 0x22
> class: TrueColor
> depth: 16 planes
> available colormap entries: 64 per subfield
> red, green, blue masks: 0xf800, 0x7e0, 0x1f
> significant bits in color specification: 6 bits
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: CALL_EXTERNAL simple problem ?
Next Topic: 16-bit color

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:42:39 PDT 2025

Total time taken to generate the page: 0.00508 seconds