home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 1
/
FishNMoreVol1.bin
/
more
/
graphics
/
utilities
/
mkanim
/
mkanim.arc
/
XFile.5
< prev
Wrap
Text File
|
1989-02-10
|
2KB
|
50 lines
Hi.
Here's an ANIM standard compressor, which can take a series of IFF
files and combine them into a single animation file that can be
played back with ShowANIM, as well as the Director and Aegis
VideoSeg. To create a compressed ANIM file, construct a text
file with a list of file names of frames to be assembled, one
per line:
pictures/frame01
pictures/frame02
pictures/frame03
pictures/frame04
pictures/frame05
pictures/frame01
pictures/frame02
Files can reside on different disks, just enter the entire path
name (including disk name). A requester will pop up when it's time
to put in the appropriate disk.
If you want to create an endless loop, make sure the first two
frames are repeated at the end of the file as in the example above.
Once the list file is created (let's call it FLIST) you then
issue the command:
MakeANIM FLIST test.anim
This will read the frames in one by one and create the ANIM file
with the name "test.anim". This file can then be played back with
the abovementioned player programs.
The program should work in any resolution including HAM, but don't
try to mix resolutions. The color palettes should all be the same,
as this version does not handle palette changing on the fly.
This program has been successfully used to construct standard format
ANIM files from Animate3D frames, as well as individual files created
by paint programs.
How much memory do you need? Good question. The program will
create 4 buffers the size of the IFF image during compression.
Only one buffer is required to be in CHIP memory. Lo-res shouldn't
be any trouble for anybody, but I don't know exactly where the dividing
lines are otherwise.