src/hg/hgGenome/mainPage.c 1.27

1.27 2009/08/19 23:00:16 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/hgGenome/mainPage.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGenome/mainPage.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -b -B -U 4 -r1.26 -r1.27
--- src/hg/hgGenome/mainPage.c	6 Apr 2009 05:33:50 -0000	1.26
+++ src/hg/hgGenome/mainPage.c	19 Aug 2009 23:00:16 -0000	1.27
@@ -303,9 +303,9 @@
     {
 
     /* Create gif file and make reference to it in html. */
     trashDirFile(&gifTn, "hgg", "ideo", ".gif");
-    hvg = hvGfxOpenGif(gl->picWidth, gl->picHeight, gifTn.forCgi);
+    hvg = hvGfxOpenGif(gl->picWidth, gl->picHeight, gifTn.forCgi, FALSE);
 
     hPrintf("<INPUT TYPE=IMAGE SRC=\"%s\" BORDER=1 WIDTH=%d HEIGHT=%d NAME=\"%s\">",
 		gifTn.forHtml, gl->picWidth, gl->picHeight, hggClick);
     }