From: Ethan M. <merritt@u.washington.edu> - 2005-12-30 22:20:19
|
On Friday 30 December 2005 02:15 pm, Daniel J Sebald wrote: > > I see what the issue is. Although at the start of the animation file > the GlobalCM is set so that the animation can reuse the same color > map over and over, the gdImageGifAnimAdd routine indicates that the > particular image in question should use it's own color map. So my guess was correct. > I've recompiled after setting the above parameter to zero. Don't do that. It won't work in general, because if any frame later introduces a new color then the colormap will not be correct. In fact, the current code may set this before colors have been determined even for the 1st frame. If that's the case, it's no wonder you ended up with a monotone image. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle WA |