SetSystemFileAttributes Method

Allows the user to set how image files will be saved for a given type.

Applies To

Image Admin control

Syntax

object.SetSystemFileAttributes PageType, FileType, CompressionType, CompressionInfo

Arguments

Parameter

            Data Type

Description

PageType

Integer

Specifies a page type value.

FileType

Integer

Specifies a file type value.

CompressionType

Integer

Specifies compression information.

CompressionInfo

Long

Specifies compression information.


PageType argument

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


FileType argument

Setting

Description

0

Unknown

1

TIFF

2

AWD

3

Bitmap (BMP)

4

PCX

5

DCX

6

JPEG


CompressionType argument

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


CompressionInfo argument

Setting

Description

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 -- reverses black and white on expansion

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

These settings will be used when scanning files with the Image Scan control.

Defaults are set for a classification of the page type into one of three categories:

If a compression option of 0 (zero) is specified for a JPEG compression type, then a default value will be used (4096 -- low compression, high quality).

See Also

Compression topics in Imaging Concepts

File types in Imaging Concepts

Image types in Imaging Concepts

GetSysCompressionType method

GetSysFileType method

GetSysCompressionInfo method