GetBMPColorSpace Method

Description         This method retrieves the compression mode of the DIB image.

Syntax                 RetVal = [BIDIB.]GetBMPColorSpace FileName

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

Remarks             FileName                String              Path and name of the input file.

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              GetDIBColorSpace Method