CompressionInfo settings

The following list shows the valid CompressionInfo settings (bit-wise values):

Setting Description

0 No compression If CompressionType is set to 1 (no compression)
Default compression If CompressionType is set to a value other than 1
1 EOL
2 Packed Lines
4 Prefixed EOL
8 Compressed LTR
16 Expand LTR
32 Negate
64 High Compression/High Quality (JPEG compression only)
128 High Compression/Medium Quality (JPEG compression only)
256 High Compression/Low Quality (JPEG compression only)
512 Medium Compression/High Quality (JPEG compression only)
1024 Medium Compression/Medium Quality (JPEG compression only)
2048 Medium Compression/Low Quality (JPEG compression only)
4096 Low Compression/High Quality (JPEG compression only)
8192 Low Compression/Medium Quality (JPEG compression only)
                            16384 Low Compression/Low Quality (JPEG compression only)

AWD, BMP, and other uncompressed files must be saved using a CompressionInfo setting of 0.  LZW-compressed files must be saved using a CompressionInfo setting of 8.

Note: AWD is not available with Imaging for Windows NT 4.0.