IP Phone Administrator Guide How to Create an XML Application

Appendix G

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

Note: The actual resolution of the image on the LCD screen is dependent on the phone model. The 55i screen has a resolution of 144 x 75 pixels. The 57i/57i CT screens have a resolution of 144 x 128 pixels. However, the display of the image is limited to 40 x 144 pixels high.

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: 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.

G-32

41-001160-00, Rev 01 Release 2.0

Page 572
Image 572
Aastra Telecom 57I C53I manual AastraIPPhoneImageScreen Object, VerticalAlign HorizontalAlign Height Width