Re: TV question... [message #33810] |
Fri, 24 January 2003 11:16 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Bruce Bowler (bbowler@bigelow.org) writes:
> I'm using TV to display a bunch of images in the same window. I'd like
> to have a white border around each of the images. It seems to me that
> the easiest way to do that would be to make the background of TV white
> instead of black. Is that possible?
If you have white as an index in your color table,
erase the window with that color before you display
your images. For example, if you have a gray-scale
color table loaded:
LOADCT, 0
ERASE, Color=!D.Table_Size-1
TV, image, etc.
If you are in 24-bit color, you could just do this:
ERASE, Color=fsc_color("white")
TV, image, etc.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|