DB2 graphic  QMF Version 8

Storing and using images in Image folders

You can create stock images to use in your QMF Visionary world by storing images in the Globals folder of a QMF Visionary world. When you add Picture objects to scenes or data templates or Animated GIF objects to scenes in your world, you can specify one of two sources: an image stored in the world or an image file from your computer's file system.

Note: To understand the distinction between a picture/animated GIF and an image, think of a Picture/Animated GIF as a class of object, while an image is a particular instance of the Picture/Animated object.

Stored images enable you to store your image resources with your world and thereby can make your scenes run faster. They also provide some performance enhancement when they do not require any processing at runtime.

To store an image in the Images folder, click Insert --> Image to display the Insert Image dialog box and then enter the file system location of the image and click OK. The image appears in the Images folder in the World Manager Worlds page.

To use a stored picture image in a scene:

  1. Insert a Picture object into the scene by double-clicking the Picture object on the Primitives palette.
  2. Set the ImageSource property of the Picture object to the StockImage() function and specify the name of the stock image you want, as follows:
    =StockImage(image_name)

To use a stored animated GIF image in a scene:

  1. In the Scenes folder, double-click the scene into which you want to insert an animated GIF.
  2. Drag the animated GIF object into the scene from the Images folder of the World Manager Worlds page. The ImageSource property of the animated GIF object is automatically updated with the name of the stock image you want.
Note: When you want to reuse images, store them as named pictures in the Custom palette.


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004