The WAP WBMP format

IconPainter offers full support the WBMP format which is a monochrome file format used for image display on mobile phones. The standard WAP specification for this format is followed by the IconPainter codec (the Java source for this codec is available for free to IconPainter users on request).

IconPainter treats the WBMP format much as it does the XBM format in regard to how images colors are saved. As WBMP is a monochrome format and when reading an WBMP file IconPainter will assign the current paint color for the pixels which are "On". When writing an WBMP file IconPainter will assume that any pixels which are the current background color will be "Off" and any pixels that are not the background color will be "On".

Drawing for WBMP

Since WBMP is a monochrome format it is advisable to paint in only one color and to turn off any kind of gradient since these will not show correctly. Antialiasing is in theory useless but in fact it can help give lines more solidity. The current painting color need not be black, it can be any color but when the image is rendered on a phone it will be rendered in black.