Saving Window-Leveled Bitmaps

Note:

This topic is for Document/Medical only.

Only TIFF and DICOM file formats are capable of saving bitmaps that have been window-leveled. Bitmaps can be window-leveled by calling the L_WindowLevel(pBitmap, WINDOW_LEVEL_PAINT_PROCESS) function or by loading a bitmap from a file format that supports window-leveling. If a window-leveled bitmap is saved as any other file format, the bitmap data will be converted before being saved. The conversion is done as follows:

image\sqrblit.gif The data is converted to the full bit range (LowBit = 0, HighBit = BitsPerPixel – 1)

image\sqrblit.gif The LUT is converted so first entry = 0 (BLACK) and last entry = 255 (WHITE).

When the bitmaps are saved as DICOM or TIFF, no conversion is made.