You are here: Start » AVL.NET » AVL.SaveImageToTiff_Asynchronous Method

AVL.SaveImageToTiff_Asynchronous Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SaveImageToTiff_Asynchronous(
	ref AvlNet.SaveImageState ioState,
	AvlNet.Image inImage,
	string inFile
)

Parameters

Name Type Range Default Description
ioStateAvlNet.SaveImageStateState containing information about asynchronous execution.
inImageAvlNet.ImageAn image to be saved.
inFilestringPath to a file.

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

Error type Description
DomainError Path name cannot be empty in SaveImageToTiff_Asynchronous.
DomainError inJpegQuality set in SaveImageToTiff_Asynchronous is valid only with inCompressionScheme set as JPEG.
DomainError Compression is not supported for 32-bit pixel type.

See also