76 Chapter 5 Working with Images
Command file example
The following sample command file creates the image shown in the graphic below.
Commands used to draw image above:
IMGN
IMGB // begin an editing session
XRES 640 // set the horizontal resolution
YRES 480 // set the vertical resolution
HATO Foreground 24 18
OVAL Foreground 479 479 80 0 GrayPat0
CROS White
RECT White 205 154 770 77 GrayPat50
RECT Black 128 96 30 45 GrayPat100
RECT Black 128 96 482 45 GrayPat100
RECT Black 128 96 30 345 GrayPat100
RECT Black 128 96 482 345 GrayPat100
RECT Red 30 96 184 347 GrayPat100
RECT Blue 30 96 243 347 GrayPat100
RECT Yellow 30 96 273 347 GrayPat100
RECT Cyan 30 96 303 347 GrayPat100
RECT Magenta 30 96 333 347 GrayPat100
RECT Blue 30 96 363 347 GrayPat100
FORM White 271 78
RECT Green 30 96 213 347 GrayPat100
RECT Green 30 96 393 347 GrayPat100
RECT Red 30 96 423 347 GrayPat100
RECT White 128 96 30 45 GrayPat7
RECT White 128 96 482 45 GrayPat7
RECT White 128 96 30 345 GrayPat7
RECT White 128 96 482 345 GrayPat7