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 LBitmap::WindowLevel 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.

NOTE: To save a region inside a TIFF file, you must have an unlocked Document, Vector, or Medical Imaging license.