CompressionInfo Property

Returns the bitwise compression options set for the current image.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Admin control

Syntax

object.CompressionInfo[=value]

Data Type

Long

Setting Description
Note: Values 1 to 32 are not used with JPEG compression.
0 No flags or options are set. This is the default value if the Image property is empty.
1 EOL include or expect standard end of line bit sequences
2 Packed lines data is not byte aligned
4 Prefixed EOLs include or expect prefixed end of line bit sequences
8 Compressed bit order, left to right
16 Expanded bit order, left to right
32 Negate indicates data is stored with black bits equal to 0 (zero)
Note:  Values 64 to 16384 pertain only to JPEG compression.
64 High compression, high quality
128 High compression, medium quality
256 High compression, low quality
512 Medium compression, high quality
1024 Medium compression, medium quality
2048 Medium compression, low quality
4096 Low compression, high quality
8192 Low compression, medium quality
16384 Low compression, low quality

Remarks

The value returned by this property is for the image page specified by the PageNumber property. If no image is specified by PageNumber, the value returned is 0 (zero).

This property is read-only.