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

Re: 20040121: 20040121: changing background color in garp image products



Thanks Steve! -Neil

On Wed, 2004-01-21 at 18:00, Unidata Support wrote:
> >From: "Neil R. Smith" <address@hidden>
> >Organization: UCAR/Unidata
> >Keywords: 200401212255.i0LMtGp2023636
> 
> >On Wed, 2004-01-21 at 15:00, Unidata Support wrote:
> >> >From: "Neil R. Smith" <address@hidden>
> >> >Organization: UCAR/Unidata
> >> >Keywords: 200401211912.i0LJCDp2013860
> >> 
> >> >Is there a way to change th background color in garp
> >> >image products? I can't print these things with solid black
> >> >background all day without taking out a loan.
> >> >Thanks, -Neil
> >> >-- 
> >> >Neil R. Smith, Comp. Sys. Mngr.           address@hidden
> >> >Dept. Atmospheric Sci., Texas A&M Univ.   979/845-6272 FAX:979/862-4466
> >> >
> >> 
> >> Neil,
> >> 
> >> You could either:
> >> 
> >> 1) Print as postscript directly from nmap2 instead convering the gif from 
> >>    garp for your printer. The NMAP postscript output will invert the black
> >>    and white for just the reason you mention.
> >How do I convert the garp gif using nmap2? How do I get nmap2 to open
> >the the .gif file? I not be reading you right.
> 
> I was saying to create you display in nmap2, then click on "print".
> 
> >> 2) create a modified color table with the minimum data value set to white
> >>    instead of black.
> >Where are those color tables for garp located?
> 
> The gempak satellite and radar image enhancements are in $GEMTBL/luts.
> 
> >> 3) Use an external graphics program that can manipulate the gif color
> >>    index setting black to white.
> >like xview?
> 
> I don't have xview, but can do this with xv interactively, or
> on the command line with programs like gifsicle, such as:
> gifsicle --change-color "#ffffff" "#000000" \
>    --change-color "#000000" "#ffffff" \
>    gemtest.gif > gemnew.gif
> 
> 
> The above command would change black to white, and white to black from the
> input file gemtest.gif and create a new file called gemnew.gif.
> Really, this is the easiest way to take a bunch of files you already
> have and process the load really quick and painlessly.
> 
> Steve Chiswell
> 
> 
> 
> 
> >> 
> >> Steve Chiswell
> >> 
> >> --
> >> NOTE: All email exchanges with Unidata User Support are recorded in the
> >> Unidata inquiry tracking system and then made publically available
> >> through the web.  If you do not want to have your interactions made
> >> available in this way, you must let us know in each email you send to us.
> >> ****************************************************************************
> >  <
> >> Unidata User Support                                    UCAR Unidata 
> >> Program
> >  <
> >> (303)497-8643                                                  P.O. Box 
> >> 3000
> >  <
> >> address@hidden                                   Boulder, CO 80307
> >  <
> >> ----------------------------------------------------------------------------
> >  <
> >> Unidata WWW Service              
> >> http://my.unidata.ucar.edu/content/support 
> >  <
> >> ****************************************************************************
> >  <
> >> 
> >-- 
> >Neil R. Smith, Comp. Sys. Mngr.              address@hidden
> >Dept. Atmospheric Sci., Texas A&M Univ.      979/845-6272 FAX:979/862-4466
> >
> --
> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publically available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.
> **************************************************************************** <
> Unidata User Support                                    UCAR Unidata Program <
> (303)497-8643                                                  P.O. Box 3000 <
> address@hidden                                   Boulder, CO 80307 <
> ---------------------------------------------------------------------------- <
> Unidata WWW Service              http://my.unidata.ucar.edu/content/support  <
> **************************************************************************** <
> 
-- 
Neil R. Smith, Comp. Sys. Mngr.         address@hidden
Dept. Atmospheric Sci., Texas A&M Univ. 979/845-6272 FAX:979/862-4466