For faster navigation, this Iframe is preloading the Wikiwand page for Wireless Application Protocol Bitmap Format.

Wireless Application Protocol Bitmap Format

WBMP (ang. Wireless Application Protocol Bitmap Format) – format zapisu obrazu, używany głównie w starszych telefonach komórkowych, w których stosowano monochromatyczny wyświetlacz ciekłokrystaliczny, jako obrazki, w których piksel jest albo aktywny, albo nie, tym samym format wbmp posiada tylko 2 kolory – biały i czarny. 1 piksel zajmuje 1 bit.

Format pliku

[edytuj | edytuj kod]
Nazwa pola Typ pola Rozmiar w bajtach Opis zawartości
Typ bajt[y] zmienny Typ obrazka (0 dla bitmap monochromatycznych).
Stały nagłówek bajt 1 Zarezerwowany. Zawsze 0.
Szerokość bajt[y] zmienny Szerokość obrazka w pikselach.
Wysokość bajt[y] zmienny Wysokość obrazka w pikselach.
Dane tablica bajtów zmienny Bajty danych pogrupowane w wiersze – jeden bit na piksel. Czarny piksel zapisany jako 0, a biały jako 1. Jeśli długość wiersza nie jest podzielna przez 8, ostatni bajt jest dopełniany zerami.

Przykład pliku WBMP

[edytuj | edytuj kod]

Bitmapa 3×3 piksele:

zostanie zapisana:

bajt 1: 00000000 (typ pliku – monochromatyczny)
bajt 2: 00000000 (stały nagłówek)
bajt 3: 00000011 (szerokość) = 3
bajt 4: 00000011 (wysokość) = 3

bajty 5-7: po 3 bity danych i 5 bitów wypełnienia (8-3=5):

bajt 5: 010 00000 (wiersz 1)
bajt 6: 101 00000 (wiersz 2)
bajt 7: 010 00000 (wiersz 3)
{{bottomLinkPreText}} {{bottomLinkText}}
Wireless Application Protocol Bitmap Format
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?