Creates and initializes new AviWriter class instance. You set the AVI movie dimensions, as well as few compressor settings. It also opens this writer on specified file.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)
Public Sub New ( _ fileName As String, _ width As Integer, _ height As Integer, _ quality As Integer, _ framesPerSecond As Integer, _ compressorHandler As Integer _ )
public AviWriter( string fileName, int width, int height, int quality, int framesPerSecond, int compressorHandler )
Type: System.String
Name of the file to open the writer on.Type: System.Int32
An integer value which specifies the width of the AVI you need to get. If 0 is specified, the width will be taken from the first frame added to the writer.Type: System.Int32
An integer value which specifies the height of the AVI you need to get. If 0 is specified, the height will be taken from the first frame added to the writer.Type: System.Int32
Value in range [0, 10000] which specifies the quality of the AVI file. Higher values means better quality (but larger file size).Type: System.Int32
An integer value which specifies how many frames should be played in one second.Type: System.Int32
An integer number containing the compressor handler.When you open the writer with this constructor, you will not be able to change the writer settings (such as dimensions, compressor settings, frames per second, etc). So use this constructor only if you are sure that you need not change the writer parameters. Otherwise you should: