Wireless Application Protocol Bitmap Format
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.
| Filename extension |
.wbmp |
|---|---|
| Internet media type |
image/vnd.wap.wbmp |
| Developed by | WAP Forum |
| Type of format | Image file formats |
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
gollark: My ethics are procedurally generated, it really saves time.
gollark: I have done some stupid, *stupid* things, but at least I've probably learned from them by now!
gollark: 2024.
gollark: So you are in fact admitting it's a very good metric for lots of things, but also that we shouldn't use it.
gollark: Even if it is not true in 100% of cases, I don't actually care as it's good enough.
External links
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.