







Main class for working with GIF format. It is a wrapper over SimpleGif.Gif.
The following tables list the members exposed by the Gif type.
Public Constructors
Public Methods
Name | Description | |
---|---|---|
![]() ![]() |
Decode | Decode byte array and return a new instance. |
![]() ![]() |
DecodeIterator | Decode byte array and return frames as iterator. |
![]() |
Encode | Encode all frames to byte array |
![]() |
EncodeIterator | Encode all frames to byte array and return it by parts with iterator |
![]() ![]() |
GetDecodeIteratorSize | Get frame count. Can be used with DecodeIterator to display progress bar. |
![]() |
GetEncodeIteratorSize | Get parts count for EncodeIterator. Can be used with EncodeIterator to display progress bar. First part is first frame, penultimate part is GIF header, last part is ending. Thus it always return frame number plus 2. Performance notice: encoding is much 'expensive' operation than decoding. |