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

AVL.SaveImageToPng

Saves an image to a PNG file.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SaveImageToPng
(
	AvlNet.Image inImage,
	string inFile,
	bool inIgnoreErrors
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageAn image to be saved.
inFilestringPath to a file.
inIgnoreErrorsboolSwitches to re-trying and canceling in case of errors (e.g. when the disk is full).

Errors

List of possible exceptions:

Error type Description
DomainError Not supported inImage pixel format in SaveImageToPng. Supported formats: UInt8, UInt16.

Function Overrides

See also