You are here: Start » FIL.NET » Function Reference » Image » Image IO » FIL.SaveImageToTiff
Saves an image to a TIFF file.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SaveImageToTiff ( FilNet.Image inImage, string inFile, FilNet.TiffImageCompressionScheme? inCompressionScheme, int? inJpegQuality, bool inIgnoreErrors )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | An image to be saved. | ||
![]() | inFile | string | Path to a file. | ||
![]() | inCompressionScheme | FilNet.TiffImageCompressionScheme? | Compression scheme. Default value: ftl::NIL. | ||
![]() | inJpegQuality | int? | <0, 100> | Quality - used only for JPEG compression scheme. 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 | Compression is not supported for 32-bit pixel type in SaveImageToTiff. |
DomainError | inJpegQuality set in SaveImageToTiff is valid only with inCompressionScheme set as JPEG. |
DomainError | Path name cannot be empty in SaveImageToTiff. |
DomainError | Not supported inImage pixel format in SaveImageToTiff. Supported formats: UInt8, UInt16, Real, Int32. |