nFlags

Meta-header flags and Transfer Syntax flags that indicate the file characteristics to use when loading the file. Possible values for the Meta-header flags are:

Value

Meaning

0

[0x0000] LEADTOOLS will automatically determine the presence or absence of the Meta-header.

DS_METAHEADER_PRESENT

[0x0001] The header is present.

DS_METAHEADER_ABSENT

[0x0002] The header is absent.

Possible values and combinations for the Transfer Syntax flags are:

0

[0x0000] LEADTOOLS will automatically determine the Transfer Syntax.

DS_LITTLE_ENDIAN

[0x0004] Byte order is Little Endian.

DS_BIG_ENDIAN

[0x0008] Byte order is Big Endian.

DS_IMPLICIT_VR

[0x0010] The Value Representation is implicit.

DS_EXPLICIT_VR

[0x0020] The Value Representation is explicit.

DS_LITTLE_ENDIAN | DS_IMPLICIT_VR

DS_LITTLE_ENDIAN | DS_EXPLICIT_VR

DS_BIG_ENDIAN | DS_EXPLICIT_VR

DS_LOAD_CLOSE

[0x0200] The file will be loaded and closed.

Any of the available Meta-header flags given above may be combined with any of the available values or combinations of values for the Transfer Syntax flags given above. For example, you may combine DS_METAHEADER_ABSENT with DS_EXPLICIT_VR, or you may combine DS_METAHEADER_PRESENT with DS_LITTLE_ENDIAN | DS_EXPLICIT_VR, etc.