You are here: Start » FIL.NET » Function Reference » Image » Image IO » FIL.SaveImageToTiff_Asynchronous
Saves an image to a TIFF file in the background thread.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SaveImageToTiff_Asynchronous ( FilNet.SaveImageState ioState, int inThreadQueueSize, FilNet.Image inImage, string inFile, bool inIgnoreErrors )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | FilNet.SaveImageState | State containing information about asynchronous execution. | |||
![]() | inThreadQueueSize | int | <1, INF> | 3 | Number of incoming frames that can be buffered before the thread is able to process them. Default value: 3. |
![]() | inImage | FilNet.Image | An image to be saved. | ||
![]() | inFile | string | Path to a file. | ||
![]() | inIgnoreErrors | bool | If false the error will be reported as soon as the filter instance is again executed. |
Remarks
This filter is executed in the background thread. Execution errors may be reported with a delay or ignored. Stopping of the program may be delayed, because of waiting for background work to complete.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Compression is not supported for 32-bit pixel type in SaveImageToTiff_Asynchronous. |
DomainError | inJpegQuality set in SaveImageToTiff_Asynchronous is valid only with inCompressionScheme set as JPEG. |
DomainError | Path name cannot be empty in SaveImageToTiff_Asynchronous. |
DomainError | Not supported inImage pixel format in SaveImageToTiff_Asynchronous. Supported formats: UInt8, UInt16, Real, Int32. |