C# Class NGif.AnimatedGifEncoder

ファイルを表示 Open project: TheFabFab/ObservableLinq Class Usage Examples

Protected Properties

Property Type Description
closeStream bool
colorDepth int
colorTab byte[]
delay int
dispose int
firstFrame bool
fs Stream
height int
image WriteableBitmap
indexedPixels byte[]
palSize int
pixels byte[]
repeat int
sample int
sizeSet bool
started bool
transIndex int
transparent Color
usedEntry bool[]
width int

Public Methods

Method Description
AddFrame ( WriteableBitmap im ) : bool
Finish ( ) : bool
SetDelay ( int ms ) : void
SetDispose ( int code ) : void
SetFrameRate ( float fps ) : void
SetQuality ( int quality ) : void
SetRepeat ( int iter ) : void
SetSize ( int w, int h ) : void
SetTransparent ( Color c ) : void
Start ( Stream os ) : bool
Start ( String file ) : bool

Protected Methods

Method Description
AnalyzePixels ( ) : void
FindClosest ( Color c ) : int
GetImagePixels ( ) : void
WriteGraphicCtrlExt ( ) : void
WriteImageDesc ( ) : void
WriteLSD ( ) : void
WriteNetscapeExt ( ) : void
WritePalette ( ) : void
WritePixels ( ) : void
WriteShort ( int value ) : void
WriteString ( String s ) : void

Method Details

AddFrame() public method

public AddFrame ( WriteableBitmap im ) : bool
im WriteableBitmap
return bool

AnalyzePixels() protected method

protected AnalyzePixels ( ) : void
return void

FindClosest() protected method

protected FindClosest ( Color c ) : int
c Color
return int

Finish() public method

public Finish ( ) : bool
return bool

GetImagePixels() protected method

protected GetImagePixels ( ) : void
return void

SetDelay() public method

public SetDelay ( int ms ) : void
ms int
return void

SetDispose() public method

public SetDispose ( int code ) : void
code int
return void

SetFrameRate() public method

public SetFrameRate ( float fps ) : void
fps float
return void

SetQuality() public method

public SetQuality ( int quality ) : void
quality int
return void

SetRepeat() public method

public SetRepeat ( int iter ) : void
iter int
return void

SetSize() public method

public SetSize ( int w, int h ) : void
w int
h int
return void

SetTransparent() public method

public SetTransparent ( Color c ) : void
c Color
return void

Start() public method

public Start ( Stream os ) : bool
os Stream
return bool

Start() public method

public Start ( String file ) : bool
file String
return bool

WriteGraphicCtrlExt() protected method

protected WriteGraphicCtrlExt ( ) : void
return void

WriteImageDesc() protected method

protected WriteImageDesc ( ) : void
return void

WriteLSD() protected method

protected WriteLSD ( ) : void
return void

WriteNetscapeExt() protected method

protected WriteNetscapeExt ( ) : void
return void

WritePalette() protected method

protected WritePalette ( ) : void
return void

WritePixels() protected method

protected WritePixels ( ) : void
return void

WriteShort() protected method

protected WriteShort ( int value ) : void
value int
return void

WriteString() protected method

protected WriteString ( String s ) : void
s String
return void

Property Details

closeStream protected_oe property

protected bool closeStream
return bool

colorDepth protected_oe property

protected int colorDepth
return int

colorTab protected_oe property

protected byte[] colorTab
return byte[]

delay protected_oe property

protected int delay
return int

dispose protected_oe property

protected int dispose
return int

firstFrame protected_oe property

protected bool firstFrame
return bool

fs protected_oe property

protected Stream fs
return Stream

height protected_oe property

protected int height
return int

image protected_oe property

protected WriteableBitmap image
return WriteableBitmap

indexedPixels protected_oe property

protected byte[] indexedPixels
return byte[]

palSize protected_oe property

protected int palSize
return int

pixels protected_oe property

protected byte[] pixels
return byte[]

repeat protected_oe property

protected int repeat
return int

sample protected_oe property

protected int sample
return int

sizeSet protected_oe property

protected bool sizeSet
return bool

started protected_oe property

protected bool started
return bool

transIndex protected_oe property

protected int transIndex
return int

transparent protected_oe property

protected Color transparent
return Color

usedEntry protected_oe property

protected bool[] usedEntry
return bool[]

width protected_oe property

protected int width
return int