JPEGCompressionData property (ILEADRasterTwain)

Visual Basic example

Visual C++ example

 

Syntax

ITwainJpegCompression* JPEGCompressionData

Overview

Refer to Using JPEG Compression for a TWAIN Source.

Remarks

Gets or sets the JPEG compression options used by the current TWAIN session.

This ITwainJpegCompression object contains the following properties:

ColorSpace property

HuffmanAC property

HuffmanDC property

HuffmanMap property

NumComponents property

QuantMap property

QuantTable property

RestartFrequency property

SubSampling property

The above properties are updated by calling the GetJPEGCompression method.

To set the JPEG compression options for the current TWAIN session, set the above properties and call the SetJPEGCompression method.

A TWAIN session is started by calling the InitSession method.

See Also

Elements

GetJPEGCompression method, SetJPEGCompression method

Topics

TWAIN Functionality: JPEG Compression Functions