You Are Here:

Community: Developer Discussion Boards

#1 Old OTA Bitmap encoding - 2001-11-07, 17:55

Join Date: Mar 2003
Posts: 10
nkn_knockia
Offline
Registered User
How to Encode OTA Bitmap?

#2 Old RE: OTA Bitmap encoding - 2001-11-08, 16:37

Join Date: Mar 2003
Posts: 76
huckFIN
Offline
Regular Contributor
OTA Bitmap is used as a part of the following Smart Messaging formats: Operator logo, CLI icon, Picture Message and Downloadable Profile. In today's Nokia phones the maximum size of the operator logo and the CLI icon is 72x14 pixels, while the maximum size of the picture message and the screen saver is 72x28 pixels.

The OTA Bitmap syntax can be found in Smart Messaging specification. An OTA Bitmap consists of a bitmap header and a bitmap data. The size of the bitmap is specified in the header. Several other information (ie. number of colors) are also defined there, but those informations handle issues that are not supported in today's Nokia phones. So these values are similar in all OTA Bitmap headers.

Typical OTA Bitmap (72x14 pixels) header is: 00480E01

00 'Infofield'
48 'Width of the bitmap is 72 pixels'
0E 'Height of the bitmap is 14 pixels'
01 'Number of colors or grey shades (only one color)'

The image data is located after the header information and is encoded as follows. Each semi-octet in the OTA bitmap presents 4 pixels in the original bitmap. Because one row takes 18 semi-octets, the whole 72x14 size (operator logo and CLI icon) bitmap takes 18x14 = 252 semi-octets = 126 octets. In the case of the picture message and screen saver the whole 72x28 size bitmap takes 18x28 = 504 semi-octets = 252 octets.

For example, if the first four pixels of the image are 1010 (1 - black, 0 - white), the first semi-octet of the OTA bitmap data is hex A.

This is an example of a simple OTA bitmap (72x14 pixels). In the picture, there are two black lines and several black dots.

FFFFFFFFFFFFFFFFFF <- First line black
000000000000000000 <- Second line white
FFFFFFFFFFFFFFFFFF
000000000000000000
10F000000000000000 <- Fourth pixel of this line is
000000000000000000 black and 9-12 pixels are
000000000000000000 also black
000000000000000000
000000000000000000
000000000000000000
000000000000000000
000000000000000000
000000000000000000
000000000000000001 <- Last pixel of this row/bitmap is black

For more information, please refer to the Smart Messaging Specification 3.0.0. or later
  « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d1328X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZmessagingQ qfnZtopicQUqfnTopicZsmartE5fmessagingQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ