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

AVL.SaveImageToTiff_Asynchronous

Saves an image to a TIFF file in the background thread.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SaveImageToTiff_Asynchronous
(
	AvlNet.SaveImageState ioState,
	int inThreadQueueSize,
	AvlNet.Image inImage,
	string inFile,
	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.
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 Compression is not supported for 32-bit pixel type in SaveImageToTiff_Asynchronous.
DomainError inJpegQuality set in SaveImageToTiff_Asynchronous is valid only with inCompressionScheme set as JPEG.
DomainError Path name cannot be empty in SaveImageToTiff_Asynchronous.
DomainError Not supported inImage pixel format in SaveImageToTiff_Asynchronous. Supported formats: UInt8, UInt16, Real, Int32.

Function Overrides

See also