Chapter 17. Metreos.Native.ImageBuilder

Metreos.Native.ImageBuilder

Actions
AddBorderedTextRegion
AddFlatBorderImageRegion
AddStandardImageRegion
AddTextRegion
CreateImageBuilder

The Image Builder API is used to generate a PNG image composed of images and text, which can then be either converted to a byte stream or saved to file. The primary reason it was created was to enable the creation of a dynamic, composite image suitable for display on the Cisco IP Phones which support PNG display, such as the Cisco IP Phone 7941, 7961, 7970, 7971, and 7921. Any script which uses this API must have at least one instance of the ImageBuilder type that must always first be initialized by the CreateImageBuilder action. Then one can use the other actions of the API to add regions which are either an image or text string to the ImageBuilder type.