Article View: sci.image.processing
Article #1021Re: animation program for X11R4 inquiry
From: George Wm Turner
Date: Thu, 28 Jan 1993 15:52
Date: Thu, 28 Jan 1993 15:52
54 lines
2052 bytes
2052 bytes
mov.c from ics.uci.edu (128.195.1.1) is a simple animator.
i have had some problems running on suns with openwindows but it works
fine on my suns with motif, dec stations, hp 730s, hp xterminals,
p.c., etc. here are the comments from the code :
geo@BigBang% more mov.c
/*
"mov" Portable X b/w movie viewer 5 Nov 92
mov.c (c) 1992 David A. Honig
Permission to propogate is granted iff you keep the copyright and
always disseminate the source as well.
*/
/*
Function:
Display a headerless greyscale movie on an X display.
Compilation:
cc mov.c -lX11 -lm -o mov
(This is pure Xlib C code.)
Usage:
mov < movie.raw [options]
Options:
-w WIDTH
-h HEIGHT
-s SIZE (width=height=size)
-r FRAMERATE (fps)
-c CACHESIZE (pixmaps to get on the server; must be less than MAXMAPS)
-g GAMMA (float)
-b BIAS
-d debug mode
-n no numbers
-l seesaw looping
-q digital subtraction
-y reduce 16->8s
-z use low byte of word (with -y)
Defaults:
256 x 256 image, 30 cached, 30 fps, gamma=1.0, bias=0
Requires:
X, 8-bit screen, width*height*CACHESIZE bytes of server memory.
Versions > .7 can deal with monochrome displays!
Inputs: headerless 8 or 16-bit image sequence (on stdin)
Technical Details
Message-ID:
<C1KMs1.35z@usenet.ucs.indiana.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!doc.ic.ac.uk!agate!spool.mu.edu!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!bigbang.astro.indiana.edu!turnerReferences:
<1993Jan27.201322.19924@newshost.lanl.gov> <1k8932INNaq7@urmel.informatik.rwth-aachen.de>Show Full Headers
Complete Article Headers
Newsgroups: sci.image.processing Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!doc.ic.ac.uk!agate!spool.mu.edu!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!bigbang.astro.indiana.edu!turner From: turner@bigbang.astro.indiana.edu (George Wm Turner) Subject: Re: animation program for X11R4 inquiry Message-ID: <C1KMs1.35z@usenet.ucs.indiana.edu> Lines: 56 Sender: news@usenet.ucs.indiana.edu (USENET News System) Nntp-Posting-Host: bigbang.astro.indiana.edu Reply-To: turner@bigbang.astro.indiana.edu (George Wm Turner) Organization: Astronomy / Indiana University / Home of RoboScope References: <1993Jan27.201322.19924@newshost.lanl.gov> <1k8932INNaq7@urmel.informatik.rwth-aachen.de> Distribution: usa Date: Thu, 28 Jan 1993 15:52:48 GMT