[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20010627: Re: Gempak gif images
- Subject: 20010627: Re: Gempak gif images
- Date: Wed, 27 Jun 2001 15:44:59 -0600 (MDT)
Lodovica Illari <address@hidden> asked:
> <Question>
> I would like to produce gemapk gif images with a white background instead
> of black.
> </Question>
Lodovica,
There are several ways to set the background color for the GF and XW drivers:
1) You can
run "gpcolor" and set COLORS=101=white to set the background color
number 101 to white (or any color).
2) If you are running ntl, so that the shared color map is installed,
launch the "ncolor" application (GEMPAK 5.6) from ntl and
click on the first color box(#0) and configure the color.
If you aren't running
GEMPAK 5.6 which has ncolor, you can do the same thing with the
ntrans color editor at the bottom of that application.
If you are using "ntl" which installs the shared color map, then all
programs will inherit the background color you set.
3) If you are not running ntl...typically, if you are generating GIF images
to a virtual X display instead of a user console.... You can copy the
$GEMTBL/colors/coltbl.xwp (coltbl.xw prior to GEMPAK 5.6) to the
local working directory and modify the file so that the first color entry
is white instead of black, eg
!Color name Abrev Red Green Blue X color name
WHITE WHI 255 255 255 white
Steve Chiswell
Unidata User Support