EncodeCcittImage  Method

Description         Saves a device independent bitmap to the specified CCITT file.

Syntax                 RetVal = [BITIFF.]EncodeCcittImage  FileName Dib Compression

Returns               RetVal                    Boolean           True on success, otherwise False.

Remarks             FileName                String              The destination file name.

                            Dib                          LONGLONG Device independent bitmap to save.

                            Compression          Integer             The compression mode of the image. This can be one of the following:

                                                                  tifCcittNoComp = 0     No compression (Raw image).

                                                                  tifCcittG31dNoEol = 1 Group 3        1Dimension with No End Of Line (Group 2).

                                                                  tifCcittG31dEol = 2     Group 3        1Dimension with End Of  Line.

                                                                  tifCcittG32d = 3           Group 3        2Dimension.

                                                                  tifCcittG4 = 4               Group 4.

See Also              DecodeCcittImageFrom Method