DecodeCcittImageFrom  Method

Description         Loads the specified CCITT image file.

Syntax                 Dib = [BITIFF.]DecodeCcittImageFrom  FileName Compression Offset Width Height FillOrder ByteOrder

Remarks             Dib                          LONGLONG The device independent bitmap. 0 if error occurred.

                            FileName                String              The file name of a CCITT format file.

                            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 NoEnd Of Line (Group 2).

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

                                                                  tifCcittG32d = 3           Group 3        2Dimension.

                                                                  tifCcittG4 = 4               Group 4.

                            Offset                     Long                The position of the first data byte in the file.

                            Width                     Integer             The width of the image.

                            Height                     Integer             The height of the image.

                            FillOrder                Integer             The bit order in the file. This can be:

                                                                  tiffoNormal = 1                Normal bit order.

                                                                  tiffoReverse = 2               Reverse bit order.

                            ByteOrder              Integer             The byte order in the file. This can be:

                                                                  tifboLowToHigh = 18761    Intel type.

                                                                  tifboHighToLow = 19789    Motorola type.

See Also              EncodeCcittImage Method