Animation Properties

The Sequence Property dialog box  looks like this:

The New  button allows for creating a new sequence.

The Open  button loads a file (*.seq) or a sequence of files (*.tga) for an animated logo:

Besides, you can load animated *.gif files. If you use the Add button, X-Pert Graphics will load only the first picture of the file.

The Open button, X-Pert Graphics will load the entire range of *.gif images.

NOTE: We do not recommend using *.gif sequences for high quality applications, since they have only 256 indexed colors and do not have 8-bit transparency (just one color can be either entirely transparent, or entirely solid).

If you want to load only а part of the files, uncheck the Load All box and enter either the number of the first or the last file of the sequence, or both, by checking the Load From and Load To boxes and filling the relevant spin-boxes. Use the blue arrows to the right to enter the number of the currently selected file in the relevant field. If you are loading an interlaced animation, specify the first field – A Field First or B Field First.

Click Open. The sequence will be displayed in the animation property window. The currently selected file from the sequence will be shown in the preview area to the right.

The Export  button saves the current sequence as a file (*.seq).

The Add  button adds a new file to the sequence.

The Delete  button deletes a selected file from the sequence.

The Insert  button inserts a file into the sequence.

The Invert alpha  button inverts the alpha channel of the selected file.

The Move Up/Down  buttons move the selected file up/down the list.

The Reverse  button reverses the files’ order

The View  buttons are used for changing the sequence files’ view to list or thumbnail mode.

If the animation files do not have an alpha channel, you can select a key color by using the Key color tool:

The Range and the Loop-related spin-boxes are situated below the key-color setting kit. Select the Range of frames that will be used in the sequence – enter the values you wish in the From and To fields. The names of the frames that are out of this range will become red, and their background – grey. The background of the working range will remain white. If you want to loop between two frames in this working range, place a check in the Loop box, and fill in the Start and End fields, as well as the number of loops. The frames, included in the loop will be highlighted in pale yellow. A blue arrow to the right of them will mark the final and the initial frame of the loop.

After adding your animation to the preview area, an additional toolbar will become active. In order to see it, click on the animation object:

Select the desired Speed and enter the number of times you want to check the  Loop animation.

TIP(!): If you need to loop a last frame of an animation object, then follow the steps from Appendix 17.

This taskbar duplicates the range and loop settings in the Properties dialog box. You can change those settings here as well. Just choose a Range of animation frames to be displayed, or check/uncheck the  Loop option (it enables leader-loop-trailer functionality). When you check  it, select the range of frames, within which you want to loop. If this option is selected, the animation will start from the beginning. Run to the End frame and loop between Start and End frames. If you want the animation to run regularly again, simply uncheck  the Loop box.

NOTE: The From and Start fields represent the first frame that will be shown, and the To and End fields represent the first frame that will NOT be shown. Thus, the difference between the To and the From (and between the End and Start) values will be equal to the number of frames that will be shown in your sequence. These numbers will be displayed in the status bar of the sequence’s properties dialog box. Count stands for the total number of frames in the list, Used stands for the number of frames in the working Range, and Loop stands for the number of frames that will be looped.

IMPORTANT! You must have enough uninterrupted free RAM to load a TGA sequence in X-Pert Graphics. The minimum free RAM needed for loading a TGA animation is calculated with the following formula: (Animation_Width multiplied by Animation_Height, multiplied by 4) multiplied by the Animation_Frame_Count.

Example 2 – Minimum Free RAM for Animation Sequence

To save or open a project, which contains such an animation, you will have to multiply the needed RAM by 2.

Thus, the minimum free uninterrupted RAM for saving/opening a 100-frame animation with 300x200 frame size will be:

(300 * 200 * 4) * 100 * 2 = 48,000,000 bytes = ~45.77 MB.

TIP (!) In order to reduce these requirements, you could export your longer animations to sequence files by using the Create Animation File object (see the section below).

NOTE: Fielded animations are not supported! Use frame-based animations with each field in a separate file. Then, use speed 2 for proper speed and field interpretation.

NOTE: The Animation/Sequence is limited to 32-bit TGA.