NumComponents property (ITwainJpegCompression)

Visual Basic example

Visual C++ example

 

Syntax

short NumComponents

Overview

Refer to Using JPEG Compression for a TWAIN Source.

Remarks

Gets or sets the number of color components in the image to be compressed.

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

See Also

Elements

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

Topics

TWAIN Functionality: JPEG Compression Functions