You are here: Start » AVL.NET » AVL.SaveImageToJpeg_Asynchronous
Saves an image to a JPEG file in the background thread.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SaveImageToJpeg_Asynchronous ( AvlNet.SaveImageState ioState, int inThreadQueueSize, AvlNet.Image inImage, string inFile, int? inQuality, bool inIgnoreErrors )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | AvlNet.SaveImageState | State containing information about asynchronous execution. | |||
inThreadQueueSize | int | <1, INF> | 3 | Number of incoming frames that can be buffered before the thread is able to process them. Default value: 3. | |
inImage | AvlNet.Image | An image to be saved. | |||
inFile | string | Path to a file. | |||
inQuality | int? | <0, 100> | Quality. Default value: atl::NIL. | ||
inIgnoreErrors | bool | If false the error will be reported as soon as the filter instance is again executed. |
Remarks
This filter is executed in the background thread. Execution errors may be reported with a delay or ignored. Stopping of the program may be delayed, because of waiting for background work to complete.