SetDIBCompression  Method

Description         This methods specifies the type of the compression of the DIB. The method sets the value of the compression in the bitmap info header.

Syntax                 RetVal = [BiDib.] SetDIBCompression Dib Compression

Remarks             RetVal                    BOOL             TRUE on success, otherwise FALSE.

                            Dib                          LONGLONG The handle of a device independent bitmap.

                            Compression          Long                The type of the compression to set.

                                                                                    Available values:

                                                                                    rgb - An uncompressed format.

                                                                                    bitfields - Specifies that the bitmap is not compressed and that the color table consists of three DWORD color masks that specify the red, green, and blue components, respectively, of each pixel.

 

See Also