src/hg/instinct/hgHeatmap2/hgCircleMaps.c 1.12
1.12 2009/08/19 23:00:18 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/instinct/hgHeatmap2/hgCircleMaps.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/hgHeatmap2/hgCircleMaps.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -b -B -U 4 -r1.11 -r1.12
--- src/hg/instinct/hgHeatmap2/hgCircleMaps.c 4 Jun 2009 03:50:36 -0000 1.11
+++ src/hg/instinct/hgHeatmap2/hgCircleMaps.c 19 Aug 2009 23:00:18 -0000 1.12
@@ -625,9 +625,9 @@
off_t size = fileSize(md5Tn.forCgi);
if (!fileExists(md5Tn.forCgi) || (size == 0) || DEBUG_IMG)
{
- struct hvGfx *vg = hvGfxOpenGif(cm->width, cm->width, md5Tn.forCgi);
+ struct hvGfx *vg = hvGfxOpenGif(cm->width, cm->width, md5Tn.forCgi, FALSE);
drawCircleMap(vg->vg, cm);
hvGfxClose(&vg);
}