Animating images

From Apache OpenOffice Wiki
Jump to: navigation, search

Impress offers some animation functionalities that are typical of specialized programs. An animated image consists of a sequence of images (frames) that are displayed in succession. Each frame may contain one or multiple drawing objects. To start creating a custom animated image open the Animator dialog from Insert > Animated Image.

Animation dialog
Animation dialog.

Creating an animation

Several mechanisms can be used to create an animated image. This chapter describes only two of them as that should be sufficient to understand the functions offered.

Frame by frame animation

  1. Create the image you intend to animate using the drawing tools.
  2. Select the image and click the Apply Object ApplyObjectIcon.png button. This copies the object (or objects) into the upper part of the Animation dialog.
  3. Apply some transformation to the object; for example, rotate it, change the color, if you are animating a text add or subtract a letter and so on.
  4. When you are ready, create the second frame of the animation and click the Apply Object button again.
  5. Repeat steps 3 and 4 until you have created all the desired frames of the animation.
  6. Select Bitmap object in the Animation group section of the Animator dialog. This allows you to customize the timing of each of the frames and the number of repetitions for the animation (set the value to Max to obtain an infinite loop).
  7. Click Create to place the animated image on the slide.
Documentation note.png If the image to be copied in the Animator consists of several objects, you can choose to treat each object as a separate frame. In this case click the Apply objects individually button ApplyObjectsIndividuallyIcon.png. Remember that each object will be centered in the animation.

Animated image in one step

For some simple animations it is possible to create all the animation frames in advance, and place them on the slide. This method works well for a rotating line, a shape gradually changing color, shapes increasing or decreasing size. In most of these occasions it is convenient to use the Edit > Duplicate command.

When all the frames are already prepared, use the Apply objects individually ApplyObjectsIndividuallyIcon.png to create one frame for each of the objects.

It is easy to obtain for example a rotating segment:

  1. Draw a segment, say, horizontal and make it fairly thick (use Format > Line or the Line and Filling toolbar to do that).
  2. Open the Duplicate dialog by selecting Edit > Duplicate and set the number of copies to 5, the X and Y axis to 0.1, the angle to 30, the enlargement width and height to 0, and click OK.
  3. Select the 6 segments created by Impress and open the Animator (Insert > Animated image from the main menu bar).
  4. On the Animator dialog, click Apply objects individually.
  5. Select Bitmap object in the lower part of the dialog, then click the Create button.

Other functions of the Animator

You can review the animation at any time by clicking the Play button PlayAnimationIcon.png as well as navigate the various frames using the other controls available.

If you are not satisfied with a particular frame, you can remove it. To do so:

  1. Navigate to the frame using the edit control with the spin buttons.
  2. Click the Delete current image button DeleteImageIcon.png.

You can also delete the whole animation by clicking the Delete all images button DeleteAllImagesIcon.png.

Tip.png If you want to work on the animation frames a bit more, you can copy them into the Impress work area by selecting Group object and then clicking Create.

Tip.png Since all the objects are centered in the animation window, to animate an object off the center of the image, create a blank rectangle of the same size of the final image and select it along with the object to be animated. Make sure that Group object is selected before clicking the Apply object button.

Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools