C# Класс ScreenToGif.FileWriters.AviWriter

Wrapper for the Win32 AVIFile library.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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