Optional cumulative?: booleanCumulative drawing mode - do not clear previous frame appearance.
Optional maxMaximum image buffer length to load.
The image buffer length is calculated as follows:
NumFrames * image.height * image.width * 4.
If the GIF image exceeds this value, only the first frame will be loaded.
The default and maximum value is 2145386496.
Optional playPlay/stop animation on mouse over/out.
Optional playPlay/stop animation on mouse click.
Optional autoAutomatically play video when a GIF image contains more than one frame.
Optional speed?: numberAnimation speed. The delay between frames will be divided by the value specified in the "speed" setting. The lower the value, the slower the animation will run. The higher the value, the faster the animation runs.
1
// Slowing down the animation by two times:
var viewer = new GcImageViewer("#root", {
gifOptions: { speed: 0.5 }
});
// Animation acceleration by two times::
var viewer = new GcImageViewer("#root", {
gifOptions: { speed: 2 }
});
GIF options.