You are here: Start » FIL.NET » FIL.SaveImageToPng
Saves an image to a PNG file.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SaveImageToPng ( FilNet.Image inImage, string inFile, int? inCompressionLevel, bool inIgnoreErrors )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | An image to be saved. | ||
![]() | inFile | string | Path to a file. | ||
![]() | inCompressionLevel | int? | <0, 9> | Compression level. Default value: ftl::NIL. | |
![]() | inIgnoreErrors | bool | Switches 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. |