Command Summary
33
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 30: 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.
6.7
Animations
7.1
Upload an
Animation File
Dec
Hex
ASCII
254 92 4
FE 5C 04
■
\
EOT
File ID Size Data
File ID Size Data
File ID Size Data
v8.3
Upload an animation file to a graphic display. To create an animation see the
Animation File Creation section, for upload protocol see the
File Transfer Protocol or XModem Transfer Protocol entries. Up to16 animations can be displayed on the screen at
one time, using the Display Animation command, but up to 1024 can be stored in memory for later use. Please
note the total graphic memory size is 256KB.
File ID
Short
Unique animation file identification number, value between 0 and 1023.
Size
Integer
Size of the animation file.
Data
Byte(s)
Animation file data, see the
Animation File Creation example.