Back to Adaptive Vision Library website

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

SaveImageToPng


Saves an image to a PNG file.

Syntax

C++
C#
 
void avl::SaveImageToPng
(
	const avl::Image& inImage,
	const atl::File& inFile,
	atl::Optional<int> inCompressionLevel,
	bool inIgnoreErrors
)

Parameters

Name Type Range Default Description
inImage const Image& An image to be saved
inFile const File& Path to a file
inCompressionLevel Optional<int> 0 - 9 NIL Compression level
inIgnoreErrors bool Switches to re-trying and canceling in case of errors (e.g. when the disk is full)