DecodeMMRImage Method

Description         Loads the specified IBM MMR image file.

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

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

                            FileName                String              The file name of an IBM MMR format file.

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

                                                                  tifIbmMmrNoComp = 0 No compression.

                                                                  tifIbmMmrIoca = 1         IOCA format. If this compression mode specified, the rest of the parameters are ignored (they are stored in the IOCA header).

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