Category:HowTo:Background Image

From Snom User Wiki

Jump to: navigation, search

Contents

Format

The image size differs according to the phone type:

snom360

snom370

snom820/821/760

snom870

  • Dimensions: max. 128x64 Pixel
  • Color Depth: 1 bit (monochrome)
  • Format: Windows bitmap (.bmp)
  • Encoding: base64
  • Dimensions:max. 240x128 pixel
  • Color Depth: 5 bit (i.e. 32 grey scale colors)
  • Format: Windows bitmap (.bmp)
  • Encoding: base64
  • Dimensions:max. 320 x 240 pixel
  • Color Depth: 16 bit RGB
  • Format:
    • Windows bitmap (.bmp)
    • JPEG
  • Encoding: base64
  • Dimensions:max. 480 x 272 pixel
  • Color Depth: 24 bit RGB
  • Format:
    • Windows bitmap (.bmp)
    • JPEG
  • Encoding: base64

Conversion Tools

  1. Prepare the above described image format using an appropriate photo editing software.
  2. Use the following Linux or Windows Tools to convert the image into a base64 encoded one.

Linux

To convert a BMP image with the above properties to a base64 encoded form which can be used like in the above example script, you may use perl:

perl -MMIME::Base64 -0777 -ne 'print encode_base64($_)' < pic.bmp > pic64

And in order to convert the base64 encoded form back to a PC viewable BMP, may use:

perl -MMIME::Base64 -ne 'print decode_base64($_)' < pic64 > pic.bmp

Windows

  1. Download http://www.fourmilab.ch/webtools/base64/base64.zip and extract the file "base64.exe" into the image file directory
  2. Open a DOS window (Press "Start" --> "Run" --> Type "cmd") and run "base64.exe" from the image file directory. (To encode a file named test.bmp for example you would need to run the following command "base64.exe -e test.bmp > test.base64")

Online base64 converter

http://www.motobit.com/util/base64-decoder-encoder.asp

Online XML Generator (760/820/821/870 only)

http://snom.provoip.co.uk/idle-screen/generator/

Example

snom370

snom820/821/760

snom870

1. Take a picture and adapt it to the format requirements of the phone's screen dimension (cut, crop and resize):

240x128

320x240

480x272

2. Use the above mentioned tools and convert the image files into base64 format. The converted ASCII text has to be pasted into the <data> </data> tag and saved as a XML document on any http Server:

snom370_idlescreen.xml

snom820/821_idlescreen.xml

snom870_idlescreen.xml

3. Add the link to the xml page as XML Idle Screen URL. You can test the feature by copying one of the links above and pasting them into the "XML Idle Screen URL" of your phone. This is how the final appearance on the idle screen should look like:

240x128

320x240

480x272

This category currently contains no pages or media.

Personal tools
Interoperability