SaveDIBInJPEGFile   Method

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

Syntax                 RetVal = [BIImgFrm.]SaveDIBInJPEGFile FileName Dib Quality

Returns               RetVal                    Boolean           True on success, otherwise False.

Remarks             FileName                String              The destination file name.

                            Dib                          LONGLONG Device independent bitmap to save.

                            Quality                   Integer             Specifies the quality of the saved image.

 

The value of Quality parameter must be in the range of 1 to 100. Increasing the value of the quality of the saved image will be increased; but the size of the JPEG file will grow.

See Also              LoadJPEGIntoDIB Method