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

Home » Public Forums » archive » Re: IDL and 24 Bits--help + added question
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: IDL and 24 Bits--help + added question [message #2211 is a reply to message #2210] Wed, 22 June 1994 06:04 Go to previous messageGo to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
grunes@imsy1.nrl.navy.mil (Mitchell R Grunes) writes:

> Actually, I have been trying to find a way to simulate 24 bit color for
> TV commands on 8 bit color displays (e.g., Sun, VGA...I think it could
> be done with some fancy dithering, but I don't want to do it). Does
> anyone have (or know of) a routine to do it?

Look at the documentation for the IDL built-in routine COLOR_QUAN. This takes
pictures separated into red, green, and blue images (i.e. 24 bit color) and
combines them together into a single 8 bit image that can be displayed with an
appropriate color table to simulate a true-color image. If you use it with the
/CUBE qualifier you can then use the same color table for multiple images.
Otherwise it generates a separate optimal color table for each image.

Bill Thompson
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: event fields
Next Topic: Re: Widget Colors

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

Current Time: Mon Oct 27 15:18:40 PDT 2025

Total time taken to generate the page: 0.47587 seconds