src/ameme/fixpAmeme.c 1.2
1.2 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/fixpAmeme.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/ameme/fixpAmeme.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 4 -r1.1 -r1.2
--- src/ameme/fixpAmeme.c 1 Mar 2001 18:19:35 -0000 1.1
+++ src/ameme/fixpAmeme.c 19 Aug 2009 23:30:50 -0000 1.2
@@ -1901,9 +1901,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);