Aastraipphoneimagescreen object, Appendix g – Aastra Telecom SIP 57I User Manual

Page 787

Advertising
background image

How to Create an XML Application

41-001160-00, Release 2.1, Rev 04

G-49

Creating 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

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

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.

Advertising
This manual is related to the following products: