src/ameme/amemeFloat.c 1.3
1.3 2009/08/19 23:30:50 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/ameme/amemeFloat.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/ameme/amemeFloat.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 4 -r1.2 -r1.3
--- src/ameme/amemeFloat.c 26 Nov 2004 16:33:39 -0000 1.2
+++ src/ameme/amemeFloat.c 19 Aug 2009 23:30:50 -0000 1.3
@@ -1874,9 +1874,9 @@
printf("<H3>Graphical Summary of Profile Hits</H3>\n");
printf("Colors represent different profiles. Darker colors represent\n"
"stronger matches to profile.\n");
makeTempName(&gifTn, "imp", ".gif");
-mgSaveGif(mg, gifTn.forCgi);
+mgSaveGif(mg, gifTn.forCgi, FALSE);
mgFree(&mg);
printf("<IMG SRC=\"%s\" WIDTH=%d HEIGHT=%d BORDER=0>\n",
gifTn.forCgi, pixWidth, pixHeight);