Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image IO » SaveImageToTiff_Asynchronous

SaveImageToTiff_Asynchronous


Saves an image to a TIFF file in the background thread.

Name Type Range Description
inImage Image An image to be saved
inFile File Path to a file
inCompressionScheme TiffImageCompressionScheme* Compression scheme
inJpegQuality Integer* 0 - 100 Quality (0-100) - used only for JPEG compression scheme

Requirements

For input inImage only pixel formats are supported: uint8, uint16, real, int32.

Read more about pixel formats in Image documentation.

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

This filter can throw an exception to report error. Read how to deal with errors here: Error Handling

Error type Description
DomainError Path name cannot be empty in SaveImageToTiff_Asynchronous.
DomainError inJpegQuality set in SaveImageToTiff_Asynchronous is valid only with inCompressionScheme set as JPEG.
DomainError Compression is not supported for 32-bit pixel type.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of SaveImage filter group.

See Also

  • LoadImage – Loads a single image from a file.