C# 클래스 ScreenToGif.FileWriters.AviWriter

Wrapper for the Win32 AVIFile library.
상속: IDisposable
파일 보기 프로젝트 열기: dbremner/ScreenToGif 1 사용 예제들

공개 메소드들

메소드 설명
AddFrame ( Bitmap frame ) : void

Adds a Bitmap to the end of the AviFile video sequence.

AddFrame ( System.Windows.Media.Imaging.BitmapSource source ) : void

Adds a BitmapSource to the end of the AviFile video sequence. Not working...

AviWriter ( string path, int frameRate, int width, int height, uint quality = 10000 ) : System

Initialize the AviFile.

Dispose ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up the AviFile.

비공개 메소드들

메소드 설명
AVIFileCreateStream ( IntPtr pfile, IntPtr &ppavi, AVISTREAMINFOW &psi ) : int
AVIFileExit ( ) : void
AVIFileInit ( ) : void
AVIFileOpenW ( IntPtr &ppfile, [ szFile, int uMode, int pclsidHandler ) : int
AVIFileRelease ( IntPtr pfile ) : int
AVIMakeCompressedStream ( IntPtr &ppsCompressed, IntPtr ppsSource, AVICOMPRESSOPTIONS &lpOptions, int pclsidHandler ) : int
AVIStreamRelease ( IntPtr pavi ) : int
AVIStreamSetFormat ( IntPtr pavi, Int32 lPos, BITMAPINFOHEADER &lpFormat, Int32 cbFormat ) : int
AVIStreamWrite ( IntPtr pavi, Int32 lStart, Int32 lSamples, IntPtr lpBuffer, Int32 cbBuffer, Int32 dwFlags, IntPtr plSampWritten, IntPtr plBytesWritten ) : int
GetFourCc ( string fcc ) : uint

메소드 상세

AddFrame() 공개 메소드

Adds a Bitmap to the end of the AviFile video sequence.
public AddFrame ( Bitmap frame ) : void
frame System.Drawing.Bitmap The frame to be added.
리턴 void

AddFrame() 공개 메소드

Adds a BitmapSource to the end of the AviFile video sequence. Not working...
public AddFrame ( System.Windows.Media.Imaging.BitmapSource source ) : void
source System.Windows.Media.Imaging.BitmapSource The BitmapFrame to be added.
리턴 void

AviWriter() 공개 메소드

Initialize the AviFile.
public AviWriter ( string path, int frameRate, int width, int height, uint quality = 10000 ) : System
path string The path to the output file.
frameRate int The frame rate for the video.
width int The width of the video.
height int The height of the video.
quality uint Video quality 0 to 10000.
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Clean up the AviFile.
protected Dispose ( bool disposing ) : void
disposing bool Whether this is being called from Dispose or from the finalizer.
리턴 void