HuffmanDC property (ITwainJpegCompression)

Visual Basic example

Visual C++ example

 

Syntax

ITwainMemoryData* HuffmanDC(short iIndex)

Overview

Refer to Using JPEG Compression for a TWAIN Source.

Remarks

Gets or sets DC Huffman tables.

This property is updated by calling the GetJPEGCompression method.

This property is an array of pointers to ITwainMemoryData objects. Each ITwainMemoryData object contains the following properties:

Flags property

Length property

Data property

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

See Also

Elements

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

Topics

TWAIN Functionality: JPEG Compression Functions