[]
Represents a single frame in the GIF file.
public class GifFrame
Public Class GifFrame
Name | Description |
---|---|
BasedOnFrame | Gets the index of a frame used as the base for the current frame, -1 if the current frame doesn't depend on previous frames. |
Bottom | Gets the y-coordinate that is the sum of Top and Height property values. |
DelayTime | Gets the number of hundredths (1/100) of a second to wait before continuing. If the value is negative, the delay time is not specified. |
DisposalMethod | Gets the way in which the GIF frame has to be treated after being displayed. |
FrameIndex | Gets the index of the frame in the associated GIF file. |
HasLocalPalette | Gets a value indicating if the frame uses colors from the Local Color Table. |
Height | Gets the height of the frame image in pixels. |
Left | Gets the x-coordinate, in pixels, of the left edge of the frame image, with respect to the left edge of the Logical Screen. |
Opaque | Gets a value indicating if transparent pixels don't occur in the frame data. |
Reader | Gets the associated GcGifReader. |
Right | Gets the x-coordinate that is the sum of Left and Width property values. |
Top | Gets the y-coordinate, in pixels, of the top edge of the frame image with respect to the top edge of the Logical Screen. |
UserInput | Gets a value indicating whether or not user input is expected before continuing. When a DelayTime is not 0 and the UserInput flag is set, processing will continue when user input is received or when the delay time expires, whichever occurs first. |
Width | Gets the width of the frame image in pixels. |
Name | Description |
---|---|
GetLocalPalette() | Returns a palette with sorted opaque colors in 32-bit ARGB format retrieved from the Local Color Table. |
ReadAsIndexed8bppBitmap() | Gets the frame image as a Indexed8bppBitmap. |
ToGcBitmap() | Gets the frame image as a GcBitmap. Many GIF files use frames with transparent pixels where the previous frame is partly visible. If you read multiple GIF frames you can improve the performance dramatically by reading frames into the same GcBitmap and passing index of the previous frame in the additional contentFrameIndex parameter. |
ToGcBitmap(GcBitmap, int) | Reads the frame image into an existing GcBitmap. |
ToImage(ImageBinding) | Creates an Image object for the frame. |