Start » Filter Reference » Image » Image IO » SaveImageToJpeg

SaveImageToJpeg


Module: FoundationLite

Saves an image to a JPEG file.

Name Type Range Description
Input value
inImage Image An image to be saved
Input value
inFile File Path to a file
Input value
inQuality Integer* 0 - 100 Quality
Input value
inIgnoreErrors Bool Switches to re-trying and canceling in case of errors (e.g. when the disk is full)

Requirements

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

Read more about pixel formats in Image documentation.

Errors

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

List of possible exceptions:

Error type Description
DomainError Not supported inImage pixel format in SaveImageToJpeg. Supported formats: UInt8, UInt16.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of SaveImage filter group.