Gif Members

PowerGif

DropDown image DropDownHover image Collapse image Expand image CollapseAll image ExpandAll image Copy image CopyHover image

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.

Expand image Public Constructors

  Name Description
Public constructor Gif Create a new instance from GIF frames.
Top

Expand image Public Methods

  Name Description
Public method Static Decode Decode byte array and return a new instance.
Public method Static DecodeIterator Decode byte array and return frames as iterator.
Public method Encode Encode all frames to byte array
Public method EncodeIterator Encode all frames to byte array and return it by parts with iterator
Public method Static GetDecodeIteratorSize Get frame count. Can be used with DecodeIterator to display progress bar.
Public method 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.
Top

Expand image Fields

  Name Description
Public field Frames List of GIF frames.
Top

Expand image See Also