SaveBitmap Method
Description
Saves the current open Bitmap
item to a file.
Syntax
| Visual Basic |
|---|
Public Function SaveBitmap( _ ByVal filename As String, _ ByVal typeBitmap As Integer _ ) As Integer |
Parameters
- filename
- The named of the saved file.
- typeBitmap
- The bitmap format to use.
SIS_SAVEBMP_BMPA Windows Bitmap of the same colour depth as the system graphics. See Bitmap. SIS_SAVEBMP_DITHERBMPAn 8-bit, 256 colour Windows Bitmap. See Dithered Bitmap. SIS_SAVEBMP_JPG24-bit, 16.7 million colour JPEG. See JPEG. SIS_SAVEBMP_PNG8-bit, 256 colour or 24-bit, 16.7 million colour Portable Network Graphics. See PNG bitmap. SIS_SAVEBMP_TIFFTagged Image File Format. SIS_SAVEBMP_TIFF_LZWTagged Image File Format using LZW compression.
Remarks
Available: GEO D OD OM SISpy
Groups:
Example
sis.SaveBitmap ("d:\dataphoto.bmp", SIS_SAVEBMP_BMP)