new parameter addspacechars
[swftools.git] / src / png2swf.1
1 .TH png2swf "1" "April 2009" "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\-j\fR, \fB\-\-jpeg\fR \fIquality\fR
27     Generate a lossy jpeg bitmap inside the SWF, with a given quality (1-100)
28 .TP
29 \fB\-z\fR, \fB\-\-zlib\fR \fIzlib\fR        
30     Use Flash MX (SWF 6) Zlib encoding for the output. The resulting SWF will be
31     smaller, but not playable in Flash Plugins of Version 5 and below.
32 .TP
33 \fB\-T\fR, \fB\-\-flashversion\fR 
34     Set the flash version to generate
35 .TP
36 \fB\-X\fR, \fB\-\-pixel\fR \fIwidth\fR
37     Force movie width to \fIwidth\fR (default: autodetect)
38 .TP
39 \fB\-Y\fR, \fB\-\-pixel\fR \fIheight\fR
40     Force movie height to \fIheight\fR (default: autodetect)
41 .TP
42 \fB\-v\fR, \fB\-\-verbose\fR \fIlevel\fR
43     Set verbose level (0=quiet, 1=default, 2=debug)
44 .TP
45 \fB\-q\fR, \fB\-\-quiet\fR 
46     Omit normal log messages, only log errors
47 .TP
48 \fB\-C\fR, \fB\-\-cgi\fR 
49     For use as CGI- prepend http header, write to stdout
50 .TP
51 \fB\-V\fR, \fB\-\-version\fR 
52     Print version information and exit
53 .TP
54 \fB\-s\fR, \fB\-\-scale\fR \fIpercent\fR
55     Scale image to \fIpercent\fR% size.
56 .SH AUTHOR
57
58 Matthias Kramm <kramm@quiss.org>