Owner's manual
204 Chapter 7 Working with Images
Creating custom images
This section describes how to create images using drawing primitive commands and add
them to the generator’s Content list. The recommended method for sending drawing
primitive commands to the generator is to create a text file containing the commands for
creating the image, and then transfering the text file to the generator. For more information
about using command files, see “Sending command files (serial interface only)” on page
36.
To create a custom image with a text file:
1. Using a text editor, open a text file on your computer and enter the following commands.
OUTG 0 // gates all video and sync outputs off
IMGN new_image // creates a new image
IMGB // begins an image editing session
XRES 640 // sets the horizontal resolution to 640
YRES 480 // sets the vertical resolution to 480
.
. // image drawing primitives
.
IMGE // ends an image editing session
IMGA path/new_image// saves image as new_image in specified path
OUTG 1 // gates all video and sync outputs on
IMGU // draws the image
ALLU // applies buffer to the generator hardware
2. Save the text file with a *.txt extension.
3. Set the image path to the image folder where you want to store your image.
IMGP /tffs0/Library/Images // sets image path to folder in flashmem
4. Establish a terminal session with the generator. See “Establishing a terminal session
with the generator” on page 31.
5. At the R:> prompt, transfer the text file to the generator. For example, to transfer a file
using HyperTerminal, do the following:
a. On the Transfer menu, click Send Text File. The Send Text File dialog box
appears.
b. Select the text file you want to send, and then click Open. HyperTerminal displays
the commands as they are sent.
c. Press Enter once to ensure that the last command is sent.
The generator processes the commands and creates an image XML file in the Images
folder you specified above.