SignatureImageQuality Decoder Setting

RhoElements 2.x API

Overview

The SignatureImageQuality Decoder Setting is used to set the image quality property of the signature decoder.

Syntax

signatureImageQuality (Decoder Setting) <META> Syntax

<META HTTP-Equiv="scanner" content="signatureImageQuality:[parameter]">

signatureImageQuality JavaScript Object Syntax:
By default the JavaScript Object 'scanner' will exist on the current page and can be used to interact directly with the signatureImageQuality.
To Set signatureImageQuality parameters via JavaScript use the following syntax: scanner.Parameter = Value;

e.g. scanner.signatureImageQuality = Value;

Parameters

Items listed in this section indicate parameters, or attributes which can be set.

NamePossible ValuesDescriptionDefault Value
signatureImageQuality:[Value] 0 - 100Specifies the quality of the compressed JPEG image. 100 means optimize for the highest quality and 0 means optimize for image size. The barcode will be returned as a Data URI object with a jpeg mime type, you should specify the barcodeDataFormat and dataBufferSize parameters accordingly.Device specific

Requirements

RhoElements Version2.1 or above
Supported DevicesAll supported devices except: Enterprise Tablet.
Minimum RequirementsScanner and device that supports the Signature decoder.
PersistenceTransient - Decoder settings are only guaranteed to persist until the Scanner is disabled

HTML/JavaScript Examples

The following example enables the scanner to specify the signatureImageQuality parameter

<META HTTP-Equiv="scanner" Content="signature:enabled">
<META HTTP-Equiv="scanner" Content="barcodeDataFormat:binary;dataBufferSize:5000">
<META HTTP-Equiv="scanner" Content="signatureImageQuality:100">
<META HTTP-Equiv="scanner" Content="enabled">