C# 클래스 ScreenToGif.ImageUtil.GifEncoder2.GifFile

상속: IDisposable
파일 보기 프로젝트 열기: dbremner/ScreenToGif 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CalculateColorTableSize void
ConvertToByte byte
FindTransparentColorIndex int
GeneratePalette void
GetMaximumColorCount int
IndexPixels byte[]
ToBitValues bool[]
WriteApplicationExtension void
WriteByte void
WriteGraphicControlExtension void
WriteImage void
WriteImageDescriptor void
WriteLogicalScreenDescriptor void
WritePalette void
WriteShort void
WriteString void

공개 메소드들

메소드 설명
AddFrame ( string path, System.Windows.Int32Rect rect, int delay = 66 ) : void
Dispose ( ) : void
GifFile ( Stream stream, System.Windows.Media.Color transparent, int repeatCount ) : System
GifFile ( Stream stream, int repeatCount ) : System

비공개 메소드들

메소드 설명
CalculateColorTableSize ( ) : void
ConvertToByte ( BitArray bits ) : byte
FindTransparentColorIndex ( ) : int
GeneratePalette ( string path ) : void
GetMaximumColorCount ( ) : int

Calculates the maximum number of colors for the specified Logical Screen Description value.

IndexPixels ( List palette ) : byte[]
ToBitValues ( int number ) : bool[]

Transforms a number to a bool array of 3 positions.

WriteApplicationExtension ( ) : void
WriteByte ( int value ) : void
WriteGraphicControlExtension ( int delay ) : void
WriteImage ( ) : void
WriteImageDescriptor ( System.Windows.Int32Rect rect ) : void
WriteLogicalScreenDescriptor ( System.Windows.Int32Rect rect ) : void
WritePalette ( ) : void
WriteShort ( int value ) : void

Writes a int value as 2 bytes, but inverted. 100 = 64 00 instead of 00 64.

WriteString ( string value ) : void

메소드 상세

AddFrame() 공개 메소드

public AddFrame ( string path, System.Windows.Int32Rect rect, int delay = 66 ) : void
path string
rect System.Windows.Int32Rect
delay int
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GifFile() 공개 메소드

public GifFile ( Stream stream, System.Windows.Media.Color transparent, int repeatCount ) : System
stream Stream
transparent System.Windows.Media.Color
repeatCount int
리턴 System

GifFile() 공개 메소드

public GifFile ( Stream stream, int repeatCount ) : System
stream Stream
repeatCount int
리턴 System