Read and decodes a .gif file from disk. Includes a simple -makeWindow method to display the pixels (but you should really write your own).
See
Create a RedGIF by reading and decoding a .gif file from disk. Might take some time to decode.
As simple as possible.
bounds |
A Rect that defines the position and size of the window. |
rate |
A Float for changing playback rate of animated GIFs. E.g. 0.5 will play at half speed. |
interpolation |
A Symbol that can be either |
A string. Either "GIF87a" or "GIF89a".
Image dimensions in pixels.
A Color. Can be nil
if no -globalColorMap.
Usually 0.
Number of colors in the globalColorMap array (the color lookup table).
Array of Color objects.
Array of RedGIFControl objects. Corresponding control also saved in each RedGIFImage. See below.
Array of strings.
Optional strings.
Optional data as an array.
Array of RedGIFImage objects.
Read and decode a .gif file from disk into an already existing instance.
Get or set. Integer
Get or set. Integer