src/hg/wikiPlot/wikiPlot.c 1.8

1.8 2009/08/19 23:25:19 angie
Added option to mgSaveToGif and its call stack, to use GIF's Graphic Control Extension to make memgfx's background color (0) transparent. Also corrected terminology for PNG in .h files: useAlpha -> useTransparency.
Index: src/hg/wikiPlot/wikiPlot.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/wikiPlot/wikiPlot.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/hg/wikiPlot/wikiPlot.c	6 May 2003 07:22:36 -0000	1.7
+++ src/hg/wikiPlot/wikiPlot.c	19 Aug 2009 23:25:19 -0000	1.8
@@ -345,9 +345,9 @@
 printf("</MAP>\n");
 
 /* Save image in temp dir. */
 makeTempName(&gifTn, "wikPic", ".gif");
-mgSaveGif(mg, gifTn.forCgi);
+mgSaveGif(mg, gifTn.forCgi, FALSE);
 printf(
     "<P><IMG SRC = \"%s\" BORDER=1 WIDTH=%d HEIGHT=%d USEMAP=#%s><BR>\n",
     gifTn.forHtml, pix, pix, mapName);
 mgFree(&mg);