MakeTransparent

The MakeTransparent method replaced specified color in the frame with this track's background

MakeTransparent Track,Frame,Color

Parameters

Track
Zero-based track number.
Frame
Zero-based frame number.
Color
Hexadecimal text color value "RRGGBB" to be replaced to background color.


Note

This method can be applied to any frame on dynamic animation track. It locates and replaces areas having specified color to tis track's background color. If track has transparent background then these areas become transparent.
Example
This .vbs script replaces opaque yellow color in all frames of gif animation with transparent areas:
Source imageResult

Set ani = CreateObject("ShotGraph.GifAnimator")
ani.Read "c:\images\maketransp1.gif"
For i=0 to ani.FramesCount(0)-1
	ani.MakeTransparent 0,i,"ffff00"
Next

ani.Join
ani.Play "c:\images\maketransp.gif"