ConvertSignedToUnsigned method (ILEADRasterProcess)
short ConvertSignedToUnsigned(ILEADRaster *pRaster, ConvertSignedToUnsignedConstants Shift); | |
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 images 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.
This method supports signed data images.
See Also
Elements: |
ConvertUnsignedToSigned method, IsSigned property, LoadSigned property |
Topics: |