SetImageFileFormat (int Format)

 

Function:            Sets the current format to use for image files.

 

Arguments:        Integer:

 

                               Format         0     Compressed BMP (default)  must have .BMP extension

                                                     1     Uncompressed BMP             must have .BMP extension

                                                     2     Mono BMP                              must have .BMP extension

                                                     3     JPG Q = 20                             must have .JPG extension

                                                     4     JPG Q = 100                           must have .JPG extension

                                                     5     Uncompressed TIF                 must have .TIF extension

                                                     6     Compressed TIF                     must have .TIF extension

                                                     7     WMF (Windows metafile)     must have .WMF extension

                                                     8     EMF (Enhanced metafile)     must have .EMF extension

                                                     9     TIF (1-bit)                                 must have .TIF extension

                                                     10   TIF (1-bit inverted)                  must have .TIF extension

 

Return Value:     Void.

 

Remarks:             The file extension is not assumed in the WriteImageFile function. Any

                                extension can be specified, but it should match the specified file format.

                                Note that writing an image file is completely different from a .SIG file. An

                                image file is just a standard image format of what is seen in the control

                                and cannot be encrypted or decrypted by the SigPlus control. The .SIG

                                file format does not store an image, but rather uses a unique method of

                                preserving the original signature data from the tablet. To create a

                                metafile with a transparent background, use a trio of instructions to set

                                TabletOpaque = FALSE, then WriteImageFile, then set TabletOpaque

                                = TRUE. For all other image files, TabletOpaque must be TRUE when

                                the image file is written.

 

 

 

 

 

 

 

 

 

_____________________________________________________________________

  Copyright 1995 - 2005, Topaz Systems, Inc. All Rights Reserved, Patent Pending

     Topaz Systems, Inc., 650 Cochran Street, Unit 6, Simi Valley, CA, USA, 93065

              Phone: 805 520-8282  Fax: 805 520-0867  www.topazsystems.com