src/hg/phyloGif/phyloGif.c 1.22
1.22 2009/08/19 23:26:39 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/phyloGif/phyloGif.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/phyloGif/phyloGif.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -b -B -U 4 -r1.21 -r1.22
--- src/hg/phyloGif/phyloGif.c 24 Jun 2009 03:26:11 -0000 1.21
+++ src/hg/phyloGif/phyloGif.c 19 Aug 2009 23:26:39 -0000 1.22
@@ -722,9 +722,9 @@
{
printf("Content-type: image/gif\r\n");
printf("\r\n");
}
-if (!mgSaveToGif(stdout, mg))
+if (!mgSaveToGif(stdout, mg, FALSE))
{
errAbort("Couldn't save gif to stdout");
}