[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: color table trouble



David Fanning (davidf@dfanning.com) writes:

> So if I 
> want to write code that *always* works in *every*
> environment (and who among us doesn't?) then I have
> to wrap EVERY single TV command with something like
> this:
> 
>    CASE StrUpCase(!D.Name) OF
>       'WIN' : Device, Decomposed=1
>       'MAC' : Device, Decomposed=1
>        'X'  : Device, Decomposed=1
>       ELSE:
>    ENDCASE
>    TV, image24, TRUE=1
> 
> Even at $100/hour I find it hard to type that much code
> each time I want to display an image. :-(

Kind of makes you want to download TVImage, which has just
had this functionality added to it, doesn't it. :-)

   http://www.dfanning.com/programs/tvimage.pro

Cheers,

David

-- 
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155