[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change default value of system variable?
David Fanning wrote:
>
> Liam E. Gumley (Liam.Gumley@ssec.wisc.edu) writes:
>
> > How about including this in your startup file:
> >
> > tvlct, 255B, 255B, 255B, 0
> > tvlct, 0B, 0B, 0B, !d.table_size - 1
> > device, decomposed=0
> >
> > You should get black on a white background by default:
>
> Well, certainly until someone loads a color table
> or changes the decomposition state to display a
> 24-bit image. :-)
>
Quite right. You either play with the color indexes, or the color table
itself. At least there are no writable system variables involved in this
method.
As for turning the decomposition state on or off to display 24-bit
images, I let IMDISP take care of it:
http://cimss.ssec.wisc.edu/~gumley/imdisp.html
Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley