Available in the LEADTOOLS Imaging toolkit. |
IsSigned example for C++ 4.0 and later
// Load the bitmap data as signed so we can use a different conversion
m_Lead1.SetLoadSigned(TRUE);
m_Lead1.Load("c:\\temp\\signed.tif", 0, 0, 1);
// use the non-default conversion "zero to center"
m_Lead1.ConvertSignedToUnsigned(SHIFT_ZERO_TO_CENTER);