You are here: Start » AVL.NET » AVL.SaveImageToPng(AvlNet.Image, string, int?, bool)

AVL.SaveImageToPng(AvlNet.Image, string, int?, bool)

Saves an image to a PNG file.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void SaveImageToPng(
	AvlNet.Image inImage,
	string inFile,
	int? inCompressionLevel,
	bool inIgnoreErrors
)

Parameters

inImage
Type: AvlNet.Image
An image to be saved
inFile
Type: System.String
Path to a file
inCompressionLevel
Type: System.Nullable<System.Int32>
Compression level, or null.
inIgnoreErrors
Type: System.Boolean
Switches to re-trying and canceling in case of errors (e.g. when the disk is full)

See also