src/lib/gifLabel.c 1.10
1.10 2009/08/19 23:12:44 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/lib/gifLabel.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/gifLabel.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 4 -r1.9 -r1.10
--- src/lib/gifLabel.c 18 Sep 2008 00:38:20 -0000 1.9
+++ src/lib/gifLabel.c 19 Aug 2009 23:12:44 -0000 1.10
@@ -83,9 +83,9 @@
if (!sameGifContents(rotated, existing))
{
struct tempName tn;
makeTempName(&tn, "gifLabelVertTemp", ".gif");
- mgSaveGif(rotated, tn.forCgi);
+ mgSaveGif(rotated, tn.forCgi, FALSE);
rename(tn.forCgi, fileName);
}
mgFree(&straight);
mgFree(&rotated);