Set the disposal method for the following frames to method . Set the Netscape loop extension to count . Count is an integer, or forever to loop endlessly. The default is forever . Optimize output GIF animations for space.
Level determines how much optimization is done.
This is the default. Also uses transparency to shrink the file further. You can change multiple colors by giving the option multiple times. They all take effect as an input GIF is read. Num must be between 2 and 256.