src/test/test.c 1.4

1.4 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/test/test.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/test/test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/test/test.c	20 Aug 2008 10:42:23 -0000	1.3
+++ src/test/test.c	19 Aug 2009 23:30:50 -0000	1.4
@@ -83,9 +83,9 @@
     printf("simple %f complex %f<BR>\n", gaussean(i, 7.0, 3.0),
         complexGaussean(i, 7.0, 3.0));
     }
 makeTempName(&gifTn, "trk", ".gif");
-mgSaveGif(mg, gifTn.forCgi);
+mgSaveGif(mg, gifTn.forCgi, FALSE);
 printf(
     "<P><IMAGE SRC = \"%s\" BORDER=1 WIDTH=%d HEIGHT=%d NAME = \"mouse\" ALIGN=BOTTOM><BR>\n",
     gifTn.forHtml, pixWidth, pixHeight);