Table of Contents

Class SaveImageOptions

Namespace
ScanbotSDK.MAUI.Common
Assembly
ScanbotSDK.Shared.dll

Options for saving image to a path.

public class SaveImageOptions
Inheritance
SaveImageOptions
Inherited Members

Properties

EncryptionMode

Encryption mode.

Default is IF_AVAILABLE

public EncryptionMode EncryptionMode { get; set; }

Property Value

EncryptionMode

Quality

Quality parameter is for jpeg only and is in range 0 to 100. If -1, then settings from hibernation are used. In case when the Image Ref was created with a lazy load mode and originally has the same format as the requested to save, then setting quality to -1 leads to simply copying from source to destination, which is time efficient and prevents quality loss caused by jpeg encoding/decoding.

Default is -1

public int Quality { get; set; }

Property Value

int

Methods

FromJson(string)

public static SaveImageOptions FromJson(string rawJson)

Parameters

rawJson string

Returns

SaveImageOptions