[]
Writes the specified GcBitmap to the output stream as the next frame.
public void AppendFrame(GcBitmap bitmap, int maxColors = 255, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)
Public Sub AppendFrame(bitmap As GcBitmap, Optional maxColors As Integer = 255, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)
Type | Name | Description |
---|---|---|
GcBitmap | bitmap | The source GcBitmap. |
int | maxColors | The maximum number of opaque colors in the palette, from 8 to 256. |
int | x | The x-coordinate of the frame on the Logical Screen. |
int | y | The y-coordinate of the frame on the Logical Screen. |
GifDisposalMethod | disposalMethod | Specifies the way in which the frame has to be treated after being displayed. |
int | delayTime | The number of hundredths (1/100) of a second to wait before continuing. |
bool | userInput | Indicates whether or not user input is expected before continuing. |
Writes the specified GcBitmap to the output stream as the next frame.
public void AppendFrame(GcBitmap bitmap, uint[] palette, DitheringMethod ditheringMethod = DitheringMethod.NoDithering, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)
Public Sub AppendFrame(bitmap As GcBitmap, palette As UInteger(), Optional ditheringMethod As DitheringMethod = DitheringMethod.NoDithering, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)
Type | Name | Description |
---|---|---|
GcBitmap | bitmap | The source GcBitmap. |
uint[] | palette | The palette with opaque colors in 32-bit ARGB format. Elements with index 256 and above are ignored. |
DitheringMethod | ditheringMethod | The method of two-dimensional error diffusion dithering. |
int | x | The x-coordinate of the frame on the Logical Screen. |
int | y | The y-coordinate of the frame on the Logical Screen. |
GifDisposalMethod | disposalMethod | Specifies the way in which the frame has to be treated after being displayed. |
int | delayTime | The number of hundredths (1/100) of a second to wait before continuing. |
bool | userInput | Indicates whether or not user input is expected before continuing. |
Writes the specified Indexed8bppBitmap to the output stream as the next frame.
public void AppendFrame(Indexed8bppBitmap bitmap, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)
Public Sub AppendFrame(bitmap As Indexed8bppBitmap, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)
Type | Name | Description |
---|---|---|
Indexed8bppBitmap | bitmap | The source Indexed8bppBitmap. |
int | x | The x-coordinate of the frame on the Logical Screen. |
int | y | The y-coordinate of the frame on the Logical Screen. |
GifDisposalMethod | disposalMethod | Specifies the way in which the frame has to be treated after being displayed. |
int | delayTime | The number of hundredths (1/100) of a second to wait before continuing. |
bool | userInput | Indicates whether or not user input is expected before continuing. |
Writes the specified Indexed4bppBitmap to the output stream as the next frame.
public void AppendFrame(Indexed4bppBitmap bitmap, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)
Public Sub AppendFrame(bitmap As Indexed4bppBitmap, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)
Type | Name | Description |
---|---|---|
Indexed4bppBitmap | bitmap | The source Indexed4bppBitmap. |
int | x | The x-coordinate of the frame on the Logical Screen. |
int | y | The y-coordinate of the frame on the Logical Screen. |
GifDisposalMethod | disposalMethod | Specifies the way in which the frame has to be treated after being displayed. |
int | delayTime | The number of hundredths (1/100) of a second to wait before continuing. |
bool | userInput | Indicates whether or not user input is expected before continuing. |
Writes the specified GrayscaleBitmap to the output stream as the next frame.
public void AppendFrame(GrayscaleBitmap bitmap, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)
Public Sub AppendFrame(bitmap As GrayscaleBitmap, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)
Type | Name | Description |
---|---|---|
GrayscaleBitmap | bitmap | The source GrayscaleBitmap. |
int | x | The x-coordinate of the frame on the Logical Screen. |
int | y | The y-coordinate of the frame on the Logical Screen. |
GifDisposalMethod | disposalMethod | Specifies the way in which the frame has to be treated after being displayed. |
int | delayTime | The number of hundredths (1/100) of a second to wait before continuing. |
bool | userInput | Indicates whether or not user input is expected before continuing. |
Writes the specified BilevelBitmap to the output stream as the next frame.
public void AppendFrame(BilevelBitmap bitmap, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)
Public Sub AppendFrame(bitmap As BilevelBitmap, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)
Type | Name | Description |
---|---|---|
BilevelBitmap | bitmap | The source BilevelBitmap. |
int | x | The x-coordinate of the frame on the Logical Screen. |
int | y | The y-coordinate of the frame on the Logical Screen. |
GifDisposalMethod | disposalMethod | Specifies the way in which the frame has to be treated after being displayed. |
int | delayTime | The number of hundredths (1/100) of a second to wait before continuing. |
bool | userInput | Indicates whether or not user input is expected before continuing. |