GetDIBColorSpace Method

Description         This method retrieves the compression mode of the DIB.

Syntax                 RetVal = [BIDIB.]GetDIBColorSpace Dib

Returns               RetVal                    Long                The compression mode of the DIB, -1 on error.

Remarks             Dib                          LONGLONG Handle of the input DIB.

Available compression modes:

flagRGB (0L)                       Windows mode.

flagRLE8 (1L)                     Windows mode.

flagRLE4 (2L)                     Windows mode.

flagBITFIELDS (3L)           Windows mode.

 

flagYUV (10L)                    YUV color format.

flagCMY (11L)                    CMY color format.

flagCMYK (12L)                 CMTYK color format.

flagYIQ (13L)                      YIQ color format.

flagHSV (14L)                     HSV color format.

flagHSI (15L)                      HSI color format.

flagXYZ (16L)                     XYZ color format.

flagLAB (17L)                     LAB color format.

See Also              GetBMPColorSpace Method