Constructor GifEncoder
GifEncoder()
Default constructor. Repeat will be set to -1 and Quality to 10.
public GifEncoder()
GifEncoder(int, int)
Constructor with the number of times the set of GIF frames should be played.
public GifEncoder(int repeat, int quality)
Parameters
repeatintDefault is -1 (no repeat); 0 means play indefinitely
qualityintSets quality of color quantization (conversion of images to the maximum 256 colors allowed by the GIF specification). Lower values (minimum = 1) produce better colors, but slow processing significantly. Higher values will speed up the quantization pass at the cost of lower image quality (maximum = 100).