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

AVL.SaveImageToPng_Asynchronous Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SaveImageToPng_Asynchronous(
	ref AvlNet.SaveImageState ioState,
	AvlNet.Image inImage,
	string inFile,
	int? inCompressionLevel
)

Parameters

Name Type Range Default Description
ioStateAvlNet.SaveImageStateState containing information about asynchronous execution.
inImageAvlNet.ImageAn image to be saved.
inFilestringPath to a file.
inCompressionLevelint?<0, 9>Compression level. Default value: atl::NIL, or null.

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.

See also