GetSysCompressionType Method

Retrieves the system default compression type for a given page type.

Applies To

Image Admin control

Syntax

object.GetSystemCompressionType(PageType)

Arguments

Parameter

Data Type

Description

PageType

Integer

Specifies a page type.


Setting

Description

0

Unknown

1

Black and white

2

4-bit gray scale

3

8-bit gray scale

4

4-bit palettized

5

8-bit palettized

6

24-bit RGB

7

24-bit BGR


Return Value

Integer (enumerated)

Returns one of the following compression types:

Setting

Description

0

Unknown

1

No compression

2

Group 3 1D FAX

3

Group 3 Modified Huffman

4

Packed Bits

5

Group 4 2D FAX

6

JPEG

7

RBA

8

Group 3 2D FAX

9

LZW


See Also

Compression types in Imaging Concepts

SetSystemFileAttributes method

Image types in Imaging Concepts