LoadSigned property (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

VARIANT_BOOL LoadSigned;

Overview

Refer to Loading a Bitmap from a File.

Remarks

Indicates how to load files with signed bitmap data. Possible values are:

Value

Meaning

TRUE

Do not automatically convert signed images before loading.

FALSE

Automatically convert signed images to unsigned at load time.

LEADTOOLS automatically converts signed images to unsigned by setting the negative pixels to 0.

If this property is TRUE, the signed image should be converted by calling the ConvertSignedToUnsigned method. If signed images are not converted, the images may not be painted properly and the image processing methods will not perform correctly.

To determine whether a bitmap is signed or not, check the IsSigned property.

See Also

Elements:

IsSigned property, ConvertSignedToUnsigned method

Topics:

Raster Images: Loading Files

 

Examining and Altering Bitmaps