lFlags

Flags which control the behaviour of this function.

Value

Meaning

DICOM_SETIMAGE_AUTO_SAVE_OVERLAYS

[0x0001]If set, the function will automatically insert the overlays associated with the input bitmap into the dataset.

DICOM_SETIMAGE_AUTO_SET_VOI_LUT

[0x0002]If set, the function will automatically add a VOI LUT to the dataset.

DICOM_SETIMAGE_MINIMIZE_JPEG_SIZE

[0x0004] If set, and the nCompression parameter is IMAGE_COMPRESSION_JPEG_LOSSLESS or IMAGE_COMPRESSION_JPEG_LOSSY, the JPEG compression engine will use optimized Huffman tables, which results in better compression, but slower speed.