Wireless Application Protocol Bitmap Format - Format of Wireless Bitmap Files

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.

Read more about this topic:  Wireless Application Protocol Bitmap Format

Famous quotes containing the word files:

    But some who this blithe mood present,
    As on in lightsome files they fare,
    Shall die experienced ere three days be spent—
    Perish, enlightened by the vollied glare;
    Or shame survive, and, like to adamant,
    Thy after shock, Manassas, share.
    Herman Melville (1819–1891)