This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
I see what your goal is now. You can use GPCOLOR to reset a color value to a Red Green Blue value. I would suggest setting background color (101) to something unique and then using the ImageMagick program 'convert' to change all of that one color to transparent. You can then overlay the image on a custom background. For c-shell scripts, include the following call to gpcolor: gpcolor << EOF COLORS = 101=255:255:255 DEVICE = $DEV run the example uses an environmental variable definition for DEVICE, but what's important is the definition of color 101 to (in this case) white, 255:255:255. If you're willing to play around with ImageMagick calls you will find you are able to produce transparent backgrounds to overlay on backgrounds. Best, Michael > Hi, > > Thank you for the reply. From SFMAP page and all research, doesn't look > like GEMPAK can generate transparent background GIF image. > If there is a way, please let me know. > > Thanks > > Lin > > > Unidata GEMPAK Support wrote: > > hi Lin, > > > > take a look at the $MAPFIL section in the GEMPAK tutorial page here: > > > > http://www.unidata.ucar.edu/software/gempak/tutorial/3.1_mapping.html > > > > If you have any more questions about this let me know. I'm traveling at > > the moment but am checking support tickets occasionally. > > > > Michael James > > Unidata > > > > > > > >> Hi, > >> > >> Is that a way to configure GEMPAK so the product image file don't show > >> country bound and with transparent background? > >> > >> Thanks > >> > >> Lin > >> > >> > >> > > > > > > Ticket Details > > =================== > > Ticket ID: XPY-209197 > > Department: Support GEMPAK > > Priority: Normal > > Status: Open > > > > > > > Ticket Details =================== Ticket ID: XPY-209197 Department: Support GEMPAK Priority: Normal Status: Open