You are here: Start » AVL.NET » Invoke.SaveImageToPng
Saves an image to a PNG file.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void SaveImageToPng ( Avl.Image inImage, string inFile, Optional<int> inCompressionLevel, bool inIgnoreErrors )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | An image to be saved. | ||
![]()  | inFile | string | Path to a file. | ||
![]()  | inCompressionLevel | Atl.Optional<int> | <0, 9> | Compression level. Default value: atl::NIL. | |
![]()  | inIgnoreErrors | bool | Switches to re-trying and canceling in case of errors (e.g. when the disk is full). | 

