Saves a GdPicture image as wbmp (Wireless Bitmap) image format.
public GdPictureStatus SaveAsWBMP( int ImageID, String FilePath );
Public Function SaveAsWBMP( ByVal ImageID As Integer, ByVal FilePath As String ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
FilePath |
The complete file path to save a GdPicture image. |
A member of the GdPictureStatus enumeration.
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.
How to convert JPG file to WBMP file
Dim ImageID As Integer ImageID = oGdPictureImaging.CreateGdPictureImageFromFile("image.jpg") If ImageID <> 0 Then oGdPictureImaging.SaveAsWBBMP (ImageID, "image.wbmp") oGdPictureImaging.ReleaseGdPictureImage (ImageID) End If
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|