src/hg/hgTracks/oneTrack.c 1.3
1.3 2009/08/19 23:00:17 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/hgTracks/oneTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/oneTrack.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 4 -r1.2 -r1.3
--- src/hg/hgTracks/oneTrack.c 27 Aug 2008 19:16:57 -0000 1.2
+++ src/hg/hgTracks/oneTrack.c 19 Aug 2009 23:00:17 -0000 1.3
@@ -54,9 +54,9 @@
tg->loadItems(tg);
limitVisibility(tg);
int height = tg->totalHeight(tg, tg->limitedVis);
-struct hvGfx *hvg = hvGfxOpenGif(insideWidth, height, gifName);
+struct hvGfx *hvg = hvGfxOpenGif(insideWidth, height, gifName, TRUE);
initColors(hvg);
findTrackColors(hvg, tg);
/* This is the only image we'll draw, so offset=(0,0). */