Jump to content

Wireless Application Protocol Bitmap Format

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Anthrópinos81638 (talk | contribs) at 15:04, 31 August 2020 (Replaces obsolete tag). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Wireless Bitmap
Filename extension
.wbmp
Internet media type
image/vnd.wap.wbmp
Developed byWAP Forum
Type of formatImage file formats

Wireless Application Protocol Bitmap Format (shortened to Wireless Bitmap and with file extension .wbmp) is a monochrome graphics file format optimized for mobile computing devices.

WBMP images are monochrome (black & white) so that the image size is kept to a minimum. A black pixel is denoted by 0 and a white pixel is denoted by 1.

Format of Wireless Bitmap Files

Field name Field type Size (in bytes) Purpose
Type uintvar variable Type of the image, and is 0 for monochrome bitmaps.
Fixed header byte 1 Reserved. Always 0.
Width uintvar variable Width of the image in pixels.
Height uintvar variable Height of the image in pixels.
Data byte array variable Data bytes arranged in rows – one bit per pixel. A black pixel is denoted by 0 and a white pixel is denoted by 1. Where the row length is not divisible by 8, the row is 0-padded to the byte boundary.

Notes