xmovie

[ XITE Reference Manual | XITE home ]

Contents


Name

xmovie - X-based animation (movie) program for BIFF images in XITE

Syntax

xmovie [<option>...] <inimage>...

Description

Display a sequence of every band in BIFF images. The horizontal scrollbar beneath the image determines the movie speed. Three-band rgb images may be mixed with single- or multiband pseudocolor images.

The images can be zoomed and panned (with the usual mouse button and key combinations). The image window can also be resized with the window manager. Refer to Image(3) for more information.

To get maximum movie speed, refer to option -f below.

Options

xmovie accepts all X toolkit command-line options in as well as the XITE ximage(3) toolkit options. Refer to ximage(3) for a description of these options.

One additional option is available in xmovie:

-f
If you don't intend to resize or zoom/pan the image window or use the Histogram or Slice entries in the image's Tools menu, this allows for simpler calculations and will enable a faster movie, probably at least double speed.

Also, one of the ximage options deserves some comment:

-rgb
Any three-band image command-line argument will be interpreted as an rgb image. In this way, xmovie can include pseudocolor as well as rgb images in the same movie. For an rgb image to appear as a color image, you must use a DirectColor or TrueColor visual. Refer to the ximage option -iv.

Restrictions

All bands and images must be of equal size.

Resources

In order to specify resources, it is useful to know the hierarchy of the widgets which compose xmovie. In the notation below, indentation indicates hierarchical structure.

The following hierarchy is constructed when the default resources/options for widget layout is used. The widgets of class XfwfButton can be replaced by class Command (from the Athena widget set) by using the ximage(3) option -widgetset or corresponding application resource.

Assuming that the default xshow_colortabs file is used.

xmovie (class XMovie)

 imageShell         (class TopLevelShell)
   imageForm        (class ImageForm)
     image          (class Image)
     menubar        (class XfwfMenuBar)
       colors       (class XfwfPullDown)
       tools        (class XfwfPullDown)
       options      (class XfwfPullDown)
 xmovie control panel (class TopLevelShell)
   topContainer     (class Form)
     ximagescroll   (class Scrollbar)
     Frame 1        (class Label)
     Quit           (class XfwfButton)
     stop           (class XfwfButton)
     prev           (class XfwfButton)
     next           (class XfwfButton)
     series         (class XfwfButton)
     movie          (class XfwfButton)
 colorsmenu         (class SimpleMenu)
   menuLabel        (class SmeBSB)
   backgroundcol    (class SmeBSB)
   Work-map         (class SmeBSB)
   colorsep         (class SmeLine)
   White - 256      (class SmeBSB)
   Black - 256      (class SmeBSB)
   Red - 256        (class SmeBSB)
   Green - 256      (class SmeBSB)
   Blue - 256       (class SmeBSB)
   Spectrum - 256   (class SmeBSB)
   Hue - 256        (class SmeBSB)
   Rainbow - 256    (class SmeBSB)
 toolsmenu          (class SimpleMenu)
   menuLabel        (class SmeBSB)
   imageinfo        (class SmeBSB)
   histogram        (class SmeBSB)
   slice            (class SmeBSB)
 optionsmenu        (class SimpleMenu)
   menuLabel        (class SmeBSB)
   optionsmenusep   (class SmeLine)
   optionsmenuentry (class SmeBSB)
   optionsmenuentry (class SmeBSB)
   optionsmenuentry (class SmeBSB)
   optionsmenusep   (class SmeLine)
   optionsmenuentry (class SmeBSB)
   optionsmenuentry (class SmeBSB)
   optionsmenuentry (class SmeBSB)

See also

ximage(3), Image(3)

Files

$XITE_HOME/etc/app-defaults/XMovie

Author

Otto Milvang and Svein Bøe

Doc

Svein Bøe

Examples

 xmovie img1 img2 img3
 xmovie -xrm "*quit*borderWidth: 3" nbandimg.img:1-5

Id

$Id: xmovie.c,v 1.64 1997/08/01 11:44:37 svein Exp $