Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image IO » SaveImageToPng_Asynchronous

SaveImageToPng_Asynchronous


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

Syntax

void avl::SaveImageToPng_Asynchronous
(
	SaveImageState& ioState,
	const avl::Image& inImage,
	const atl::File& inFile,
	atl::Optional<int> inCompressionLevel
)

Parameters

Name Type Range Default Description
ioState SaveImageState& Object used to maintain state of the function.
inImage const Image& An image to be saved
inFile const File& Path to a file
inCompressionLevel Optional<int> 0 - 9 NIL Compression level

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