Display Gifs, each w/diff color tables? [message #16254] |
Mon, 12 July 1999 00:00  |
rmlongfield
Messages: 68 Registered: August 1998
|
Member |
|
|
Hi All,
Here's a question I haven't seen discussed yet. I have several
different GIF files given to me by several sources. I can read and
display them individually. However, I can't look at them allat the same
time. This is, I believe, due to the fact that the GIF files come with
their own color tables. Every time a new one is loaded, the color table
from the previous one is re-defined. I have tried the
"split table" technique outlined in DWF's book, but it doesn't work
because some of the GIF images fill in all the r,g,b arrays.
Now, these are just xy plots and clearly all these colors are
not necessary. Is there some way of defining which colors are important
and which are just "pretty"? Maybe a reverse color24 function (DWF)? If
I had only 10 colors per image, I can
split up the table (if I understand it right) and use :
tvlct,r,g,b,10
tv,bytscl(image)+byte(10)
Any ideas or suggestions would be appreciated.
Rose
p.s.
IDL> help,!version,/structure
** Structure !VERSION, 5 tags, length=40:
ARCH STRING 'mipseb'
OS STRING 'IRIX'
OS_FAMILY STRING 'unix'
RELEASE STRING '5.2'
BUILD_DATE STRING 'Oct 30 1998'
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
|
|
|