Description Converts a device dependent bitmap to a device independent bitmap. The Bitmap parameter is compatible with the standard Picture object Handle property. The Palette parameter is compatible with the standard Picture object hPal property. The returned DIB handle can be saved with any DIB saving method (SaveDIBInTiffFormat, SaveDIBInJPEGFile, etc.).
Syntax Dib = [BiDib.]ConvertBitmapToDIB Bitmap Palette
Remarks Dib LONGLONG The handle of a device independent bitmap.
Bitmap LONGLONG The handle of a device dependent bitmap.
Palette LONGLONG The handle of a palette.
See Also ConvertDIBToBitmap Method, CreateDIBPalette Method