src/hg/hgGeneRing/hgGeneRing.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/hgGeneRing/hgGeneRing.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGeneRing/hgGeneRing.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/hg/hgGeneRing/hgGeneRing.c 3 Sep 2008 19:18:53 -0000 1.7
+++ src/hg/hgGeneRing/hgGeneRing.c 19 Aug 2009 23:25:19 -0000 1.8
@@ -772,9 +772,9 @@
printf("</MAP>\n");
-mgSaveGif(mg, filename.forCgi);
+mgSaveGif(mg, filename.forCgi, FALSE);
width=height=SCREEN_SIZE;
printf("<CENTER><TABLE BORDER=0 CELLPADDING=0>");
printf("<TR><TD HEIGHT=5></TD></TR>");