nFlags

Meta-header flags and Transfer Syntax flags that indicate the file characteristics to use when loading the DICOM file from the byte array. 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