SubSampling property (ITwainJpegCompression)

Visual Basic example

Visual C++ example

 

Syntax

long SubSampling

Overview

Refer to Using JPEG Compression for a TWAIN Source.

Remarks

Gets or sets a subsampling value.

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 subsampling, refer to www.twain.org/download.htm and click on TWAIN Specification (Version 1.9).

See Also

Elements

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

Topics

TWAIN Functionality: JPEG Compression Functions