beautypg.com

Slice file creation – Matrix Orbital GLK19264A-7T-1U User Manual

Page 37

background image

32

Command Summary

9-Slice File Creation

A 9-slice file is a scalable graphic composed of nine different bitmap sections as shown below.

Figure 19: Adobe 9-slice Representation

The 9-slice file format requires that the bitmap dimensions and the locations of divisions be defined
before a graphic is uploaded normally as shown in the Bitmap File Creation example.

Table 27: 9-slice file format

Width

One byte representing the width of the entire bitmap.

Height

One byte representing the height of the entire bitmap.

Top

One byte specifying the height of the top row section of the 9-slice.

Bottom

One byte specifying the height of the bottom row section of the 9-slice.

Left

One byte specifying the width of the left column section of the 9-slice.

Right

One byte specifying the width of the right column section of the 9-slice.

Bitmap Data

Data outlining the entire bitmap, as per the Bitmap File Creation

example.