ConvertSignedToUnsigned method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short ConvertSignedToUnsigned (short iShift);

Overview:  Refer to Examining and Altering Bitmaps

Remarks

Converts a signed bitmap to unsigned.

To determine whether a bitmap is signed, check the IsSigned property. LEADTOOLS loads signed files only if the LoadSigned property is TRUE. If the LoadSigned property is FALSE, the signed images are automatically converted to signed during loading, by setting all negative pixels to 0.

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale images and 48 and 64-bit color images is available only in the Document/Medical toolkits.

See Also

Elements:  IsSigned property, LoadSigned property

Topics:  Raster Images: Doing Color Expansion or Reduction