home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 20
/
AACD20.BIN
/
AACD
/
Graphics
/
PerfectPaint
/
Tools
/
WhirlGif202.doc
< prev
Wrap
Text File
|
1997-07-07
|
3KB
|
86 lines
WhirlGIF 2.02
WhirlGif is a quick program that reads a series of GIF files, and
produces a single gif file composed of those images.
Usage:
whirlgif [-v] [-o outfile] [-loop [count]] [-off x,y] [-time #delay]
[-debug] [-disp none | not | back | prev ] [-u 0 | 1 | false | true ]
[ -trans color|index|#rrgggbb|name] [ -i listfile] file1 file2 ...
options:
-v Verbose mode
-o outfile Write anim-gif to "outfile"
-loop [count] Add the Netscape 'loop' extension. count or infinite loops.
-off x,y (?) define x,y offset for an image?
-time #delay Inter-frame timing (1/100 sec)
-debug Debug mode (more text)
-disp [method] Set disposal method, see below
-u Use colormap, 1 or 0, "true" or "false"
-trans index set the colormap index 'index' as "transparent"
-i listfile read a list of names from 'listfile'
file1 file2 filenames of gif-images.
Disposal methods:
The disposal method determines how the program displaying the image
should treat the image after it's displayed, before writing the next
image. There are currently four possible options:
none No disposal specified. The default.
not Do not dispose. The next image will overlay this one.
back Restore to background color. Fill the image's space with
the previous background color. May cause flicker.
prev Restore to previous, restores the data from the previous frame.
Tips:
If you don't specify an output file, the GIF will be sent to stdout.
This is a good thing if you're using this in a CGI script, a very bad
thing if you run this from a terminal and forget to redirect stdout.
The output file (if any) and -loop _MUST_ be specified before any gif
images.
You can specify several delay statements on the command line to
change the delay between images in the middle of an animation, e.g.
whirlgif -time 5 a.gif b.gif c.gif -time 100 d.gif -time 5 e.gif f.gif
Although it's generally considered to be evil, you can also specify
several transparency statements on the command line, to change the
transparent color in the middle of an animation. This may cause
problems for some programs.
Bugs:
+ should be able to specify delay in an 'incfile' list (see next bug).
+ Does not handle filenames starting with a - (hypen), except in 'incfile'.
+ Needs better documentation.
Todo:
+ Only save colormaps that are different from preceeding ones.
+ have an option that compares current image with previous and then
only save the smallest rectangle that encompasses changes. I need sample
code- the most efficient algorithms are patented?
+ option for luma sorting of colormaps
+ define extension block in order to have frame lists.
This program is available from http://www.msg.net/utility/whirlgif/
--------------------------
Kevin Kadow kadokev@msg.net
Based on 'txtmerge' written by:
Mark Podlipec podlipec@wellfleet.com
Updated to V2.02 by Hannu E K Nevalainen, henk@it.kth.se