You are here: Start » AVL.NET » Function Reference » Image » Image IO » AVL.SaveImageToJpeg_Asynchronous

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
ioStateAvlNet.SaveImageStateState containing information about asynchronous execution.
inThreadQueueSizeint<1, INF>3Number of incoming frames that can be buffered before the thread is able to process them. Default value: 3.
inImageAvlNet.ImageAn image to be saved.
inFilestringPath to a file.
inQualityint?<0, 100>Quality. Default value: atl::NIL.
inIgnoreErrorsboolIf 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.

Errors

List of possible exceptions:

Error type Description
DomainError Not supported inImage pixel format in SaveImageToJpeg_Asynchronous.

Function Overrides

See also