Previous Page | Next Page

Generating Web Animation with GIFANIM

GOPTIONS for Controlling GIFANIM Presentations

You can specify the following options in the GOPTIONS statement to configure Web presentations that are generated with the GIFANIM device.

ITERATION=iteration-count

specifies the number of times to repeat the animation loop. The default value of 0 continues the animation indefinitely (until the Web user selects Stop or displays another Web page in the Web browser). Specifying a number greater than 0 repeats the animated sequence for the specified number of iterations, and then continuously displays the last image in the sequence, unless the DISPOSAL= graphics option specifies otherwise.

GSFMODE=REPLACE | APPEND

specifies whether the graphics output should replace the contents of an existing file or be appended to it. In this case, the value of REPLACE specifies that the device is to write a GIF header. Use the GSFMODE= option to specify when to write the GIF header. Specify REPLACE before you generate the first GIF image, and then specify APPEND in a second statement before you generate the rest of the images.

DELAY=delay-time

specifies the amount of time that each image is displayed, in hundredths of a second. For example, a value of 1 specifies a delay of 0.01 seconds. The default value is 0.

DISPOSAL=NONE | BACKGROUND | PREVIOUS | UNSPECIFIED

specifies how the image sequence is to be displayed.

NONE

superimposes the images in the sequence, without removing any of them from the screen. This is the default value.

BACKGROUND

restores the background color before displaying the next image.

PREVIOUS

replaces the current image with the previous image before displaying the next image.

UNSPECIFIED

takes no further action before displaying the next image.

TRANSPARENCY | NOTRANSPARENCY

specifies whether the background of the image should be replaced by the background color of the Web browser.

INTERLACED | NONINTERLACED

specifies whether interlacing is to be used as the images are displayed.

Previous Page | Next Page | Top of Page