SaveDIBInTGAFormat  Method

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

Usage                  RetVal = [BIImgFrm.]SaveDIBInTGAFormat FileName Dib Compression Dialog

Remarks             RetVal                    Boolean           True on success, otherwise False.

                            FileName                String              The destination file name.

                            Dib                          LONGLONG Device independent bitmap to save.

                            Compression          Integer             Method of compression.

                                                                  imgTgaUncomp   Save image in uncompressed format.

                                                                  imgTgaRle           Save image in run-length encoded format.

                                                                  imgTgaIdStrLen Save image in id-string-len compressed format.

                            Dialog                     Boolean           Display information dialog box before saving the image.

                                                                  True                Enables to displays dialog box. Ignores setting of the  Compression parmeter.

                                                                  False               Prevents to display dialog box.

See Also              LoadTGAIntoDIB Method