CompressionInfo Property

Description Returns this page's compression information.   Read-only property.

Usage ImageFileObjectPageObject.Pages(pagenumber).CompressionInfo [=value]

Data TypeLong

Remarks The CompressionInfo property settings are:

Setting Description
0 No compression options set. Only applicable to uncompressed image files.
1 EOLs (Include/expect End Of LsLine).   Each line is terminated with an end-of-line bit. Not used for JPEG compression.
2 Packed Lines (Byte align new lines).   Not used for JPEG compression.
4 Prefixed EOLs (Include/expect prefixed End Of LineEOLs).   Each strip of data is prefixed by a standard end-of-line bit sequence. Not used for JPEG compression.
8 Compressed_ LTR (Compressed bit order, left to right).   The bit order for the compressed data is the most significant bit to the least significant bit. Not used for JPEG compression.
16 Expanded_ LTR (Expanded bit order, left to right).   The bit order for the expanded data is the most significant bit to the least significant bit. Not used for JPEG compression.
32 Negate (Invert black/ and white on expansion).   Indicates the setting of the Photometric Interpretation field of a TIFF file. Not used for JPEG compression.
64 Hi_gh Compression/Hi_High Quality (JPEG compression only).
128 Hi_Compression/Med_Quality (JPEG compression only).
128 High Compression/Medium Quality (JPEG compression only)
256 Hi_High Compression/Low_Low Quality (JPEG compression only).
512 Med_Medium Compression/Hi_High Quality (JPEG compression only).
1024 Med_Medium Compression/Med_Medium Quality (JPEG compression only).
2048 Med_Medium Compression/Low_Low Quality (JPEG compression only).
4098 Low_Low Compression/Hi_High Quality (JPEG compression only).
8196 Low_Low Compression/Med_Medium Quality (JPEG compression only).
16392 Low_Low Compression/Low_Low Quality (JPEG compression only).

SettingDescription0No compression options set. Only applicable to uncompressed image files.1EOLs (Include/expect End Of LsLine).   Each line is terminated with an end-of-line bit. Not used for JPEG compression.2Packed Lines (Byte align new lines).   Not used for JPEG compression.4Prefixed EOLs (Include/expect prefixed End Of LineEOLs).   Each strip of data is prefixed by a standard end-of-line bit sequence. Not used for JPEG compression.8Compressed_ LTR (Compressed bit order, left to right).   The bit order for the compressed data is the most significant bit to the least significant bit. Not used for JPEG compression.16Expanded_ LTR (Expanded bit order, left to right).   The bit order for the expanded data is the most significant bit to the least significant bit. Not used for JPEG compression.32Negate (Invert black/ and white on expansion).   Indicates the setting of the Photometric Interpretation field of a TIFF file. Not used for JPEG compression.64Hi_gh Compression/Hi_High Quality (JPEG compression only).128Hi_Compression/Med_Quality (JPEG compression only).128High Compression/Medium Quality (JPEG compression only)256256Hi_High Compression/Low_Low Quality (JPEG compression only).512512Med_Medium Compression/Hi_High Quality (JPEG compression only).1024Med_Medium Compression/Med_Medium Quality (JPEG compression only).2048Med_Medium Compression/Low_Low Quality (JPEG compression only).4098Low_Low Compression/Hi_High Quality (JPEG compression only).8196Low_Low Compression/Med_Medium Quality (JPEG compression only).16392Low_Low Compression/Low_Low Quality (JPEG compression only).

Example This example returns the page's compression information.

x = Img.Pages(1).CompressionInfo

Image files that do not have a compression type of JPEG will have a value between 1 and 63.   This value will be a combination of the values of 1 to 32.   For JPEG files, the value will from 64 to 16384 and will only be one of these values.