RestartFrequency property (ITwainJpegCompression)

Visual Basic example

Visual C++ example

 

Syntax

short RestartFrequency

Overview

Refer to Using JPEG Compression for a TWAIN Source.

Remarks

Gets or sets the number of minimum data units between restart markers. The default value is 0, indicating that no restart markers are used.

This property is updated by calling the GetJPEGCompression method.

To set the JPEG Compression options, set this property and the other ITwainJpegCompression properties accessed by the JPEGCompressionData property and call the SetJPEGCompression method.

For more information on data units and restart markers, refer to www.twain.org/download.htm and click on TWAIN Specification (Version 1.9).

See Also

Elements

JPEGCompressionData property, ColorSpace property, SubSampling property, NumComponents property, QuantMap property, QuantTable property, HuffmanMap property, HuffmanDC property, HuffmanAC property

Topics

TWAIN Functionality: JPEG Compression Functions