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

Home » Public Forums » archive » Re: Display Gifs, each w/diff color tables?
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: Display Gifs, each w/diff color tables? [message #16243 is a reply to message #16239] Tue, 13 July 1999 00:00 Go to previous messageGo to previous message
rmlongfield is currently offline  rmlongfield
Messages: 68
Registered: August 1998
Member
Hi All,
I'm beginning to hum Bruce Springsteen's song: "52 channels
and nothing on". My 24 colors must be brain-dead. I follow exactly
what David said in a previous post. The first line of my startup file
I have written: print!d.n_colors and I get 256. However, once I input
the lines that David said, I get the promised 16777216. Then I run:
@idlsave.sav , which is the following lines:


read_gif,'./GIF_FILES/test1.gif',image,r,g,b
tvlct,r,g,b
window,/free, retain=2
tv,bytscl(image)
read_gif,'./GIF_FILES/test2.gif',image,r,g,b
tvlct,r,g,b
window,/free, retain=2
tv,bytscl(image)
read_gif,'./GIF_FILES/test3.gif',image,r,g,b
tvlct,r,g,b
window,/free, retain=2
tv,bytscl(image)

The "crazy colors" I referred to earlier looks to me like the color
table is over-written and the new colors are being loaded into the
previously plotted image (which should not happen, according to the
rules). And that is why the colors change. They do not flash when I
move the mouse. They change when I type the TVLCT command.
The color vectors are completely different for each image.
I didn't make these images and they come from different people with
different computers. I'm going to try to send these programs home
where I have a PC and idl demo (which is only 5.0 but I hope will work.)

Until tomorrow,
Rose



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
[Message index]
 
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: RedHat 6.0 and IDL 5.2
Next Topic: RedHat 6.0 and IDL 5.2

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

Current Time: Fri Oct 10 00:34:20 PDT 2025

Total time taken to generate the page: 1.43229 seconds