ConvertUnsignedToSigned method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int ConvertUnsignedToSigned(unsigned uFlags);

Delphi Syntax

Function ConvertUnsignedToSigned (uFlags: L_UINT): L_INT;

Overview

Refer to Examining and Altering Bitmaps

Remarks

Converts an unsigned bitmap to signed.

This method updates Bitmap.MaxVal and Bitmap.MinVal with new values that consider the bitmap to contain signed data. After calling this method, the IsSigned property will be TRUE.

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

See Also

Elements:

ConvertSignedToUnsigned method, IsSigned property, LoadSigned property

Topics:

Raster Images: Doing Color Expansion or Reduction