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

Home » Public Forums » archive » No colour with TVRD and WRITE_GIF
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
No colour with TVRD and WRITE_GIF [message #12568] Tue, 18 August 1998 00:00
Paul R Smith is currently offline  Paul R Smith
Messages: 8
Registered: January 1996
Junior Member
Hi,
I have a colour plot in a window that I read in with TVRD and then output to
a GIF with WRITE_GIF. The problem is it only comes out in B&W. At first I
thought this was WRITE_GIF's problem, but the correct colour palette is
saved with the image. Then I noticed that the array resulting from TVRD has
only values 0 and 255. In other words all my colour lines have been made
white. I've spent a fair bit of time looking through the colour information
in the manual but no luck.

A couple of points;
I'm using IDL 5.1 on Win95 with the display set to High Color (16 bit)
I normally do a DEVICE,decomposed=0 (in startup.pro) before any plotting or
else I just get shades of red
I also tried changing the backing store to 2 (handled by IDL)

This seems like it should be a pretty simple task but it eludes me.
Thanks for any help,
Paul
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: ActiveX method SetNamedArray
Next Topic: grey scale

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

Current Time: Thu Oct 09 14:48:12 PDT 2025

Total time taken to generate the page: 0.64333 seconds