You are here: Start » FIL.NET » Function Reference » Image » Image IO » FIL.SaveImageToJpeg
Saves an image to a JPEG file.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SaveImageToJpeg ( FilNet.Image inImage, string inFile, int? inQuality, bool inIgnoreErrors )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | An image to be saved. | ||
![]() | inFile | string | Path to a file. | ||
![]() | inQuality | int? | <0, 100> | Quality. 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 SaveImageToJpeg. Supported formats: UInt8, UInt16. |