Creating an XML Application
41-001160-03, Rev 00, Release 2.4 F-71
You can include images with an XML object in two ways:
• Using pixel data stored with specified tags
• Using an internal bitmap loaded via a specified URI
The following paragraphs describe each of the image objects and how you can use
them in the XML scripts.
AastraIPPhoneImageScreen Object
The AastraIPPhoneImageScreen object displays an image as a single bitmap
image on the LCD screen. You can specify the placement of the image on the
screen by setting the following attributes:
• verticalAlign
• horizontalAlign
•height
•width
The image is specified as a series of hexadecimal characters. Two hex characters
map to one byte of pixel data, where each bit represents a pixel. The image data
describes the bitmap from left to right and top to bottom. The data is padded on
an 8-bit boundary, so if the height and width do not match the pixel information,
then the image will not display correctly. The character strings map to the middle
and four corners of the screen. If desired, you can specify an integer as an absolute
pixel for customized displays.
Note: The actual resolution of the image on the LCD screen is dependent
on the phone model. The 6755i screen has a resolution of 144 x 75 pixels.
The 6757i/6757i CT screens have a resolution of 144 x 128 pixels.
However, the display of the image is limited to 40 x 144 pixels high.
Note: A special URI of "Image:Logo" is used to load the current logo
bitmap for the phone (Aastra or branded). In this case, the height and
width can be ignored.
Draft 1