WbmpImage
The WbmpImage method writes the image into Wireless Bitmap (Wbmp) format.
WbmpImage
sFileName
Parameters
-
sFileName
-
String specifying the path to the file to write to. If sFileName is
a zero length string, the result WBMP image will be produced as SAFEARRAY
return value. You can use this for generation of images with ASP and
sending them to client instead of writing to a file.
Return Value
This method returns binary WBMP image, if sFileName parameter is
zero length string.
Remarks
Your image sould be a monochrome bitmap (b/w): the number of indexed colors specified in the CreateImage
calling should be 2. Or, in case of big number of colors, you should transform your image to b/w: the
ChangePaletteSize and BuildPalette or
ApplyPalette methods.