regenerated from *.doc
[swftools.git] / src / png2swf.1
1 .TH png2swf "1" "January 2006" "png2swf" "swftools"
2 .SH NAME
3 png2swf - Takes a number of png files and converts them to a swf movie, one
4 picture per frame.
5
6 .SH Synopsis
7 .B png2swf [-X width] [-Y height] [-o file.swf] [-r rate] file1.png [file2.png...]
8
9 .SH DESCRIPTION
10 This tools converts png image files into an SWF animation. It takes any
11 number of input pictures, and converts them to SWF one-by-one, where every
12 converted picture is a seperate frame in the target SWF. 
13 .PP
14 The way the
15 images are encoded in SWF is very similar to PNG (in that a zlib-based, lossless
16 compression algorithm is used).
17
18 .SH OPTIONS
19 .TP
20 \fB\-r\fR, \fB\-\-rate\fR \fIframerate\fR
21     Set movie framerate (frames per second)
22 .TP
23 \fB\-o\fR, \fB\-\-output\fR \fIfilename\fR
24     Explicitly specify output file. (Otherwise, output will go to stdout / output.swf)
25 .TP
26 \fB\-z\fR, \fB\-\-zlib\fR \fIzlib\fR        
27     Use Flash MX (SWF 6) Zlib encoding for the output. The resulting SWF will be
28     smaller, but not playable in Flash Plugins of Version 5 and below.
29 .TP
30 \fB\-X\fR, \fB\-\-pixel\fR \fIwidth\fR
31     Force movie width to \fIwidth\fR (default: autodetect)
32 .TP
33 \fB\-Y\fR, \fB\-\-pixel\fR \fIheight\fR
34     Force movie height to \fIheight\fR (default: autodetect)
35 .TP
36 \fB\-v\fR, \fB\-\-verbose\fR \fIlevel\fR
37     Set verbose level (0=quiet, 1=default, 2=debug)
38 .TP
39 \fB\-q\fR, \fB\-\-quiet\fR 
40     Omit normal log messages, only log errors
41 .TP
42 \fB\-C\fR, \fB\-\-cgi\fR 
43     For use as CGI- prepend http header, write to stdout
44 .TP
45 \fB\-V\fR, \fB\-\-version\fR 
46     Print version information and exit
47 .TP
48 \fB\-s\fR, \fB\-\-scale\fR \fIpercent\fR
49     Scale image to \fIpercent\fR% size.