ColorSpace property (ITwainJpegCompression)

Visual Basic example

Visual C++ example

 

Syntax

short ColorSpace

Overview

Refer to Using JPEG Compression for a TWAIN Source.

Remarks

Gets or sets a value that indicates the color space in which the compressed components are stored. Only spaces supported by the source for L_ICAP_JPEGPIXELTYPE are valid.

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

See Also

Elements

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

Topics

TWAIN Functionality: JPEG Compression Functions