added ratio to put commands
[swftools.git] / src / png2swf.doc
1 Usage: %s [-X width] [-Y height] [-o file.swf] [-r rate] file1.png [file2.png...]
2
3 Takes a number of png files and converts them to a swf movie, one
4 picture per frame.
5
6 This tools converts png image files into an SWF animation. It takes any
7 number of input pictures, and converts them to SWF one-by-one, where every
8 converted picture is a seperate frame in the target SWF. 
9 .PP
10 The way the
11 images are encoded in SWF is very similar to PNG (in that a zlib-based, lossless
12 compression algorithm is used). Under special circumstances, when the image
13 is 32 bpp with alpha information, it is converted to (lossy) jpeg compression
14 though, to preserve the alpha, which can't be encoded in any other way in the SWF.
15
16 -r, --rate <framerate>
17     Set movie framerate (frames per second)
18 -o, --output <filename>
19     Set name for SWF output file.
20     Explicitly specify output file. (Otherwise, output will go to stdout / output.swf)
21 -X, --pixel <width>
22     Force movie width to <width> (default: autodetect)
23 -Y, --pixel <height>
24     Force movie height to <height> (default: autodetect)
25 -v, --verbose <level>
26     Set verbose level (0=quiet, 1=default, 2=debug)
27 -C, --cgi
28     For use as CGI- prepend http header, write to stdout
29 -V, --version
30     Print version information and exit
31