See Also Examples Applies To
Saves the native GdPicture image as wbmp (Wireless Bitmap) image format.
Syntax
object.SaveAsWBMP (sFilePath)
The SaveAsWBMP syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| sFilePath | Required. String. The complete file path to save the native GdPicture image. |
Returns
Long. GdPictureStatus
Remarks
WBMP format is a format used on WAP (Wireless Application Protocol).
You can load WBMP images into mobile device which supports WAP (ie: cellular phones).
This format supports only 1BPP image.
WARNING: You need to redistribute the optional gdimgplug.dll library in order to be able to use this function.
Category
Save and Close Image
Visual Basic Sample
How to convert JPG file to WBMP file
Dim nImageID As Long
nImageID = object.CreateImageFromFile("image.jpg")
If nImageID <> 0 Then
object.SaveAsWBBMP ("image.wbmp")
object.CloseImage (nImageID)
End If